66
66
"typescript" : " ~4.9.5" ,
67
67
"which" : " ^5.0.0"
68
68
},
69
+ "engines" : {
70
+ "node" : " >= 10" ,
71
+ "pnpm" : " >= 9"
72
+ },
73
+ "overrides" : {
74
+ "typescript" : " ~4.9.5" ,
75
+ "node-gyp" : " 10.0.1"
76
+ },
69
77
"pnpm" : {
70
78
"overrides" : {
71
79
"typescript" : " ~4.9.5" ,
72
80
"node-gyp" : " 10.0.1"
73
81
}
74
82
},
75
- "engines" : {
76
- "node" : " >= 10" ,
77
- "pnpm" : " >= 9"
78
- },
79
83
"files" : [
80
84
" CHANGELOG.md" ,
81
85
" LICENSE.txt" ,
119
123
"format.prettier" : " prettier -l --cache --cache-location ./.cache/prettier --write ." ,
120
124
"format.clang-format" : " clang-format -i -style=file ./src/*.cc ./src/*.h ./src/util/*.h" ,
121
125
"lint-test.eslint" : " eslint './**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/" ,
122
- "lint.eslint" : " pnpm run lint-test.eslint --fix" ,
126
+ "lint.eslint" : " run-s ' lint-test.eslint --fix' " ,
123
127
"lint.tsc" : " tsc --noEmit -p ./src/tsconfig.json" ,
124
128
"lint.tsc-test" : " tsc --noEmit -p ./test/tsconfig.json" ,
125
129
"lint.clang-tidy" : " git ls-files --exclude-standard | grep -E '\\ .(cpp|hpp|c|cc|cxx|hxx|h|ixx)$' | xargs -n 1 -P $(nproc) clang-tidy" ,
126
130
"lint" : " run-p lint.tsc-test lint.tsc lint.eslint format" ,
127
131
"lint-test" : " run-s lint-test.eslint" ,
128
132
"bench" : " node --expose-gc test/bench" ,
129
- "prepare" : " pnpm run build.js" ,
130
- "bump" : " pnpx npm-check-updates -u -x typescript,eslint,chai,@types/chai && pnpx typesync"
133
+ "prepare" : " run-s build.js" ,
134
+ "bump" : " npx npm-check-updates -u -x typescript,eslint,chai,@types/chai && npx typesync"
131
135
},
132
136
"cmake-ts" : {
133
137
"nodeAPI" : " node-addon-api" ,
246
250
],
247
251
"license" : " MIT AND MPL-2.0" ,
248
252
"author" :
" Amin Yahyaabadi <[email protected] >, Rolf Timmermans <[email protected] >"
249
- }
253
+ }
0 commit comments