-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 4.53 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 4.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "json-as",
"version": "1.3.7",
"author": "Jairus Tanaka",
"repository": {
"type": "git",
"url": "git+https://github.com/JairusSW/json-as.git"
},
"funding": "https://github.com/sponsors/JairusSW",
"main": "transform/lib/index.js",
"devDependencies": {
"@assemblyscript/wasi-shim": "^0.1.0",
"@eslint/js": "^10.0.1",
"@types/node": "^25.9.1",
"as-heap-analyzer": "^1.2.0",
"as-test": "^1.2.0",
"assemblyscript": "^0.28.17",
"assemblyscript-prettier": "^3.0.4",
"chartjs-node-canvas": "^5.0.0",
"chartjs-plugin-datalabels": "^2.2.0",
"eslint": "^10.4.0",
"husky": "^9.1.7",
"json-as": "./",
"prettier": "3.8.3",
"serve": "^14.2.6",
"tinybench": "^6.0.2",
"try-as": "^1.1.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.4"
},
"bugs": {
"url": "https://github.com/JairusSW/json-as/issues"
},
"contributors": [
"DogWhich",
"Romdotdog",
"Derek Barrera",
"Frankk Taylor",
"lekiano",
"Florian Guitton",
"Matt Johnson-Pint",
"Tomáš Hromada",
"Loredana Cirstea",
"Accipiter Nisus",
"Deon Groenewald",
"yoyo837"
],
"description": "The only JSON library you'll need for AssemblyScript with SIMD and SWAR",
"homepage": "https://docs.jairus.dev/json-as",
"files": [
"assembly/custom/",
"assembly/deserialize/",
"assembly/globals/",
"assembly/serialize/",
"assembly/util/",
"assembly/index.ts",
"assembly/index.d.ts",
"assembly/types.ts",
"assembly/tsconfig.json",
"lib/as-bs.ts",
"transform/lib/",
"transform/package.json",
"index.ts",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"keywords": [
"assemblyscript",
"json",
"serialize",
"deserialize",
"parse",
"stringify",
"performance",
"dynamic",
"serde",
"SIMD",
"optimized",
"fast",
"algorithm"
],
"license": "MIT",
"publishConfig": {
"@JairusSW:registry": "https://npm.pkg.github.com"
},
"scripts": {
"ci": "act",
"test": "ast test --parallel --enable try-as",
"test:transform": "node transform/__tests__/normalize-base-rel.test.mjs",
"test:fast": "npm run build:transform && JSON_USE_FAST_PATH=1 ast test --parallel --mode swar,simd --enable try-as",
"fuzz": "ast fuzz",
"test:fuzz": "ast test --fuzz --parallel",
"test:ci": "ast test --parallel --clean --enable try-as",
"test:coverage": "ast test --enable coverage --enable try-as",
"bench": "bash -c 'bash ./scripts/run-bench.as.sh \"$@\" && { arg=\"${1:-}\"; if [ -z \"$arg\" ] || [ \"${arg#custom/}\" = \"$arg\" ]; then bash ./scripts/run-bench.js.sh \"$@\"; fi; } && bash ./scripts/build-charts.sh' --",
"bench:as": "bash ./scripts/run-bench.as.sh",
"bench:js": "bash ./scripts/run-bench.js.sh",
"charts": "bun run charts:build && bun run charts:serve",
"charts:build": "bash ./scripts/build-charts.sh",
"charts:publish": "bash ./scripts/publish-benchmarks.sh",
"charts:serve": "serve ./build/charts/",
"build:test": "JSON_DEBUG=0 JSON_WRITE=assembly/test.ts asc assembly/test.ts --transform ./transform -o ./build/test.wasm --textFile ./build/test.wat --enable simd --debug --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json",
"build:tmp:test": "JSON_DEBUG=1 asc assembly/test.tmp.ts -o ./build/test.wasm --textFile ./build/test.wat --enable simd --debug --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json",
"build:test:wine": "JSON_DEBUG=1 JSON_WRITE=assembly/test.ts NODE_SKIP_PLATFORM_CHECK=1 wineconsole --backend=curses ~/.win-bin/node/node.exe ./node_modules/assemblyscript/bin/asc.js assembly/test.ts --transform ./transform -o ./build/test.wasm --textFile ./build/test.wat --debug --config ./node_modules/@assemblyscript/wasi-shim/asconfig.json",
"test:wasmtime": "wasmtime ./build/test.wasm",
"test:wasmer": "wasmer ./build/test.wasm",
"build:transform": "tsc -p ./transform",
"bench:wasmer": "wasmer ./build/bench.wasm --llvm",
"format": "prettier -w .",
"lint": "eslint . --no-warn-ignored",
"lint:fix": "eslint . --fix --no-warn-ignored",
"commitmsg:verify": "bash ./scripts/commit-msg.sh",
"precommit:verify": "bash ./scripts/pre-commit.sh",
"typecheck": "tsc -p ./transform --noEmit",
"clean": "rm -rf build/ transform/lib/",
"prebuild": "npm run clean",
"build": "npm run build:transform",
"pretest": "npm run build:transform",
"check": "npm run typecheck && npm run lint",
"prepare": "husky"
},
"type": "module",
"types": "assembly/index.ts"
}