|
31 | 31 | "@types/node": "^18.19.34", |
32 | 32 | "@types/semver": "^7.5.8", |
33 | 33 | "@types/shelljs": "^0.8.15", |
34 | | - "@types/weak-napi": "^2.0.3", |
35 | 34 | "@types/which": "^2.0.2", |
36 | 35 | "benchmark": "^2.1.4", |
37 | 36 | "chai": "^4.4.1", |
|
54 | 53 | "ts-node": "~10.9.2", |
55 | 54 | "typedoc": "^0.25.13", |
56 | 55 | "typescript": "~4.9.5", |
57 | | - "weak-napi": "^2.0.2", |
58 | 56 | "which": "^3.0.1" |
59 | 57 | }, |
60 | 58 | "pnpm": { |
|
95 | 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", |
96 | 94 | "build": "run-s build.js build.native", |
97 | 95 | "build.debug": "run-s build.js build.native.debug", |
98 | | - "test": "run-s build && mocha --exit", |
99 | | - "test.skip_gc_tests": "run-s build.debug && cross-env SKIP_GC_TESTS=true mocha --exit", |
100 | | - "test.electron.main": "run-s build && electron-mocha", |
| 96 | + "test.deps": "cd test && pnpm install && cd ..", |
| 97 | + "test": "run-s test.deps build && mocha --exit", |
| 98 | + "test.skip_gc_tests": "run-s test.deps build.debug && cross-env SKIP_GC_TESTS=true mocha --exit", |
| 99 | + "test.electron.main": "run-s test.deps build && electron-mocha", |
101 | 100 | "format": "prettier --write .", |
102 | 101 | "test.electron.renderer": "run-s build && electron-mocha --renderer", |
103 | 102 | "lint.clang-format": "clang-format -i -style=file ./src/*.cc ./src/*.h ./src/util/*.h", |
|
0 commit comments