|
25 | 25 | "devDependencies": { |
26 | 26 | "@types/benchmark": "~2.1.5", |
27 | 27 | "@types/chai": "^4", |
28 | | - "@types/deasync": "~0.1.5", |
29 | 28 | "@types/eslint": "~9.6.1", |
30 | 29 | "@types/fs-extra": "^11.0.4", |
31 | 30 | "@types/gh-pages": "~6.1.0", |
|
38 | 37 | "benchmark": "^2.1.4", |
39 | 38 | "chai": "^4", |
40 | 39 | "cross-env": "^7.0.3", |
41 | | - "deasync": "^0.1.30", |
42 | 40 | "downlevel-dts": "^0.11.0", |
43 | 41 | "electron": "^33.2.1", |
44 | 42 | "electron-mocha": "^13.0.1", |
|
54 | 52 | "prebuildify": "^6.0.1", |
55 | 53 | "prettier": "^3.4.2", |
56 | 54 | "proper-lockfile": "^4.1.2", |
| 55 | + "rimraf": "^6.0.1", |
57 | 56 | "semver": "^7.6.3", |
58 | 57 | "shx": "^0.3.4", |
59 | 58 | "ts-node": "~10.9.2", |
|
91 | 90 | ], |
92 | 91 | "scripts": { |
93 | 92 | "install": "node ./script/install.js", |
94 | | - "clean": "shx rm -rf ./build ./prebuilds ./staging && run-p clean.lib clean.temp", |
95 | | - "clean.lib": "shx rm -rf ./lib/", |
96 | | - "clean.release": "shx rm -rf ./build/Release", |
97 | | - "clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp", |
| 93 | + "clean": "rimraf ./build ./prebuilds ./staging && run-p clean.lib clean.temp", |
| 94 | + "clean.lib": "rimraf ./lib/", |
| 95 | + "clean.release": "rimraf ./build/Release", |
| 96 | + "clean.temp": "rimraf ./tmp && shx mkdir -p ./tmp", |
98 | 97 | "build.js": "run-s clean.lib && tsc -p ./src/tsconfig.json && run-s build.downlevel", |
99 | 98 | "build.downlevel": "downlevel-dts ./lib ./lib/ts3.7", |
100 | | - "build.doc": "typedoc --options ./typedoc.json && minify-all -s docs-unminified -d docs --jsCompressor terser && shx rm -rf docs-unminified", |
| 99 | + "build.doc": "typedoc --options ./typedoc.json && minify-all -s docs-unminified -d docs --jsCompressor terser && rimraf docs-unminified", |
101 | 100 | "deploy.doc": "run-s build.doc && gh-pages --dist \"./docs\"", |
102 | 101 | "build.native": "cmake-ts nativeonly", |
103 | 102 | "build.native.debug": "cross-env npm_config_zmq_enable_sanitizer_undefined=true cmake-ts dev-os-only", |
104 | 103 | "build": "run-p build.js build.native", |
105 | 104 | "build.debug": "run-s build.js build.native.debug", |
106 | 105 | "test": "run-s test.unit", |
107 | 106 | "test.debug": "run-s test.unit.debug", |
108 | | - "test.unit": "run-s clean.temp build && mocha ./test/unit/*-test.ts", |
109 | | - "test.unit.debug": "run-s clean.temp build.debug && mocha ./test/unit/*-test.ts", |
110 | | - "test.unit.compat": "run-s clean.temp build && cross-env INCLUDE_COMPAT_TESTS=true mocha ./test/unit/compat/*-test.ts", |
| 107 | + "test.unit": "run-s clean.temp build && cross-env INCLUDE_COMPAT_TESTS=true mocha ./test/unit/*-test.ts ./test/unit/compat/*-test.ts", |
| 108 | + "test.unit.debug": "run-s clean.temp build.debug && cross-env INCLUDE_COMPAT_TESTS=true mocha ./test/unit/*-test.ts ./test/unit/compat/*-test.ts", |
111 | 109 | "test.unit.nogc": "run-s clean.temp build && cross-env SKIP_GC_TESTS=true mocha", |
112 | | - "test.electron.main": "run-s clean.temp build && cross-env SKIP_GC_TESTS=true electron-mocha ./test/unit/*-test.ts", |
113 | | - "test.electron.renderer": "run-s build && electron-mocha --renderer ./test/unit/*-test.ts", |
| 110 | + "test.electron.main": "run-s clean.temp build && cross-env INCLUDE_COMPAT_TESTS=true SKIP_GC_TESTS=true electron-mocha ./test/unit/*-test.ts ./test/unit/compat/*-test.ts", |
| 111 | + "test.electron.renderer": "run-s build && cross-env INCLUDE_COMPAT_TESTS=true SKIP_GC_TESTS=true electron-mocha --renderer ./test/unit/*-test.ts ./test/unit/compat/*-test.ts", |
114 | 112 | "test.smoke": "bash ./script/smoke-test.bash", |
115 | 113 | "format": "run-s format.prettier format.clang-format", |
116 | 114 | "format.prettier": "prettier -l --cache --cache-location ./.cache/prettier --write .", |
|
0 commit comments