|
21 | 21 | "@types/shelljs": "^0.8.11", |
22 | 22 | "cross-env": "^7.0.3", |
23 | 23 | "node-gyp-build": "^4.5.0", |
| 24 | + "node-addon-api": "^5.0.0", |
24 | 25 | "shelljs": "^0.8.5", |
25 | 26 | "ts-node": "10.9" |
26 | 27 | }, |
|
40 | 41 | "fs-extra": "^10.1.0", |
41 | 42 | "gunzip-maybe": "^1.4.2", |
42 | 43 | "mocha": ">=10.1", |
43 | | - "node-addon-api": "^5.0.0", |
44 | 44 | "node-fetch": "^3.3.0", |
45 | 45 | "node-gyp": "^9.3.0", |
46 | 46 | "npm-run-all2": "^6.0.4", |
|
84 | 84 | "build.native.debug": "cross-env CMAKE_BUILD_TYPE=Debug node-gyp configure --debug && cross-env CMAKE_BUILD_TYPE=Debug node-gyp build --debug", |
85 | 85 | "build": "run-p build.js build.native", |
86 | 86 | "build.debug": "run-p build.js build.native.debug", |
87 | | - "test": "run-s build.debug && mocha", |
88 | | - "lint.clang-format": "clang-format -i -style=file src/*.{cc,h} src/*/*.h", |
| 87 | + "test": "run-s build && mocha", |
| 88 | + "test.skip_gc_tests": "run-s build.debug && cross-env SKIP_GC_TESTS=true mocha", |
| 89 | + "lint.clang-format": "clang-format -i -style=file ./src/*.cc ./src/*.h ./src/util/*.h", |
89 | 90 | "lint-test.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/", |
90 | | - "lint.eslint": "run-s lint-test.eslint -- --fix", |
| 91 | + "lint.eslint": "pnpm run lint-test.eslint -- --fix", |
91 | 92 | "lint": "run-p lint.eslint lint.clang-format", |
92 | 93 | "lint-test": "run-s lint-test.eslint", |
93 | 94 | "bench": "node --expose-gc test/bench" |
|
0 commit comments