|
40 | 40 | "eslint": "^8", |
41 | 41 | "eslint-config-atomic": "^1.22.0", |
42 | 42 | "eslint-plugin-prettier": "^4.2.1", |
| 43 | + "execa": "^9.2.0", |
43 | 44 | "fs-extra": "^10.1.0", |
44 | 45 | "gh-pages": "^4.0.0", |
45 | 46 | "minify-all-cli": "^1.0.13", |
46 | 47 | "mocha": "^10.4.0", |
47 | 48 | "node-gyp": "^10.1.0", |
48 | 49 | "npm-run-all2": "^6.2.0", |
49 | | - "prebuildify": "^5.0.1", |
| 50 | + "prebuildify": "^6.0.1", |
50 | 51 | "prettier": "^2.8.8", |
51 | 52 | "rocha": "^2.5.10", |
52 | 53 | "semver": "^7.6.2", |
|
82 | 83 | "install": "(shx test -f ./script/build.js || run-s build.js) && cross-env npm_config_build_from_source=true aminya-node-gyp-build", |
83 | 84 | "clean": "shx rm -rf ./build ./lib/ ./prebuilds ./script/*.js ./script/*.js.map ./script/*.d.ts ./script/*.tsbuildinfo", |
84 | 85 | "clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp && shx touch ./tmp/.gitkeep", |
85 | | - "build.library.compat": "shx rm -rf ./lib/ts3.7 && downlevel-dts ./lib ./lib/ts3.7 --to=3.7", |
86 | | - "build.library": "tsc -p ./src/tsconfig.json && run-s build.library.compat", |
87 | | - "build.script": "tsc -p ./script/tsconfig.json", |
| 86 | + "build.library": "tsc -p ./src/tsconfig.json", |
| 87 | + "build.script": "tsc -p ./script/tsconfig.json && tsc -p ./script/tsconfig.esm.json", |
88 | 88 | "build.js": "run-p build.script build.library", |
89 | 89 | "build.doc": "typedoc --options ./typedoc.json && minify-all -s docs-raw -d docs --jsCompressor terser", |
90 | 90 | "deploy.doc": "run-s build.doc && gh-pages --dist \"./docs\"", |
91 | | - "prebuild": "run-s build.js && node ./script/prebuild.js", |
| 91 | + "build.prebuild": "run-s build.js && node ./script/prebuild.mjs", |
92 | 92 | "build.native": "node-gyp configure --release && node-gyp configure --release -- -f compile_commands_json && node-gyp build --release", |
93 | 93 | "build.native.debug": "node-gyp configure --debug && node-gyp configure --debug -- -f compile_commands_json && cross-env CMAKE_BUILD_TYPE=Debug node-gyp build --debug", |
94 | 94 | "build": "run-s build.js build.native", |
|
0 commit comments