|
19 | 19 | "test.lint": "eslint .", |
20 | 20 | "test": "jasmine ./test/index-test.mjs", |
21 | 21 | "clean": "shx rm -rf dist", |
22 | | - "build.native": "dub build --config=executable", |
23 | | - "build.native.release": "pnpm build.native -- --build release-nobounds --compiler=ldc2", |
24 | | - "build.native.profile": "pnpm build.native -- --build profile --compiler=ldc2 && node ./src/node/build.js && npm run build.node.js", |
| 22 | + "build": "dub build --config=executable", |
| 23 | + "build.release": "pnpm build.native -- --build release-nobounds --compiler=ldc2", |
| 24 | + "build.profile": "pnpm build.native -- --build profile --compiler=ldc2 && node ./src/node/build.js && npm run build.node.js", |
| 25 | + "build.benchmark": "dub build --config=benchmark --build release-nobounds --compiler=ldc2", |
25 | 26 | "start.profile": "shx rm -rf ./trace.* && npm run start.benchmark && profdump.exe --dot trace.log trace.dot && dot -Tsvg trace.dot -o trace.svg && ./trace.svg", |
26 | | - "build.node": "npm run build.native.release && node ./src/node/build.js && npm run build.node.js", |
| 27 | + "build.node": "npm run build.release && node ./src/node/build.js && npm run build.node.js", |
27 | 28 | "build.node.js": "tsc -p ./src/node/tsconfig.json", |
28 | 29 | "build.wasm": "ldc2 ./src/wasm/wasm.d ./src/native/lib.d --od ./dist --O3 --mtriple=wasm32-unknown-unknown-wasm", |
29 | 30 | "build.browser": "npm run build.wasm && parcel build --target browser ./src/browser/index.html", |
30 | 31 | "start.browser": "servor ./dist/ --browse --reload", |
31 | | - "start.benchmark": "node ./benchmark/native-benchmark.mjs", |
| 32 | + "start.benchmark.node": "node ./benchmark/native-benchmark.mjs", |
32 | 33 | "start.node": "node ./dist/node/cli.js", |
33 | 34 | "zip": "zip -9 -j ./dist/minijson-windows-x64.zip ./dist/win32-x64/minijson.exe && zip -9 -j ./dist/minijson-macos-x64.zip ./dist/darwin-x64/minijson && zip -9 -j ./dist/minijson-linux-x64.zip ./dist/linux-x64/minijson", |
34 | 35 | "prepublishOnly": "shx rm -rf ./dist/tsconfig.tsbuildinfo ./dist/build.*" |
|
0 commit comments