-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.17 KB
/
package.json
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
{
"name": "@aminya/minijson",
"version": "1.1.0",
"description": "Minify JSON files blazing fast, removing comments/whitespace.",
"homepage": "https://github.com/aminya/minijson",
"license": "MIT",
"author": "Amin Yahyaabdi",
"main": "./dist/lib.js",
"browser": "./dist/index.html",
"bin": {
"minijson": "dist/cli.js"
},
"files": [
"dist/**/*"
],
"scripts": {
"build": "dub build --config=executable",
"build.benchmark": "dub build --config=benchmark --build release-nobounds --compiler=ldc2",
"build.browser": "pnpm run build.wasm && parcel build --target browser ./src/browser/index.html",
"build.node": "pnpm run build.release && node ./src/node/build.js && pnpm run build.node.js",
"build.node.js": "tsc -p ./src/node/tsconfig.json",
"build.profile": "pnpm build --build profile --compiler=ldc2 && node ./src/node/build.js && pnpm run build.node.js",
"build.release": "pnpm build --build release-nobounds --compiler=ldc2",
"build.wasm": "ldc2 ./src/wasm/wasm.d ./src/native/lib.d --od ./dist --O3 --mtriple=wasm32-unknown-unknown-wasm",
"clean": "shx rm -rf ./dist ./despacer/build/ ./test/fixtures/*/*-minified.json",
"format": "prettier -l --cache --write . && pnpm run format.d",
"format.d": "dub run --build=release --quiet dfmt -- --soft_max_line_length 110 --indent_size 2 --inplace ./src ./benchmark",
"lint": "eslint . --fix",
"prepublishOnly": "shx rm -rf ./dist/tsconfig.tsbuildinfo ./dist/*.zip ./dist/*.tar.* ./dist/build.*",
"start.benchmark.js": "node ./benchmark/js-benchmark.mjs",
"start.benchmark.node": "node ./benchmark/native-benchmark.mjs",
"start.browser": "servor ./dist/ --browse --reload",
"start.node": "node ./dist/node/cli.js",
"start.profile": "shx rm -rf ./trace.* && pnpm run start.benchmark.node && profdump.exe --dot trace.log trace.dot && dot -Tsvg trace.dot -o trace.svg && ./trace.svg",
"test": "pnpm run build.node && jasmine ./test/index-test.mjs",
"test.format": "prettier -l --cache . --check",
"test.lint": "eslint ."
},
"prettier": "prettier-config-atomic",
"dependencies": {
"jsonminify": "^0.4.2"
},
"devDependencies": {
"@types/jasmine": "^5.1.4",
"@types/node": "22.5.4",
"eslint-config-atomic": "^1.22.1",
"jasmine": "^5.2.0",
"jasmine-spec-reporter": "^7.0.0",
"mjs-dirname": "^1.0.0",
"parcel": "^2.12.0",
"prettier-config-atomic": "^4.0.0",
"servor": "^4.0.2",
"shx": "0.3.4",
"strip-json-comments": "^5.0.1",
"typescript": "^5.5.4",
"undici-types": "^6.19.8"
},
"keywords": [
"json",
"minify",
"jsonminify",
"jsonmin",
"fast",
"minijson",
"mini",
"min",
"minifier",
"jsonc",
"comment",
"comments",
"remove",
"delete",
"multiline",
"strip",
"trim",
"parse",
"json5",
"js",
"build",
"build-tool",
"minijs",
"zip",
"small",
"tiny",
"blazing",
"d",
"c",
"simd",
"avx",
"sse",
"sse3",
"sse4",
"sse4.1",
"sse4.2",
"avx2",
"rust",
"bandwith"
],
"targets": {
"browser": {
"context": "browser",
"includeNodeModules": true
}
}
}