Skip to content

Commit 70c2ffc

Browse files
committed
Make development install compatible with npm
1 parent 2069817 commit 70c2ffc

File tree

2 files changed

+73
-73
lines changed

2 files changed

+73
-73
lines changed

package.json

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@
6060
"typescript": "~4.9.5",
6161
"which": "^5.0.0"
6262
},
63-
"pnpm": {
64-
"overrides": {
65-
"typescript": "~4.9.5",
66-
"node-gyp": "10.0.1"
67-
},
68-
"patchedDependencies": {
69-
"electron-mocha": "patches/electron-mocha.patch"
70-
}
71-
},
7263
"engines": {
7364
"node": ">= 10",
7465
"pnpm": ">= 9"
@@ -113,15 +104,15 @@
113104
"format.prettier": "prettier -l --cache --cache-location ./.cache/prettier --write .",
114105
"format.clang-format": "clang-format -i -style=file ./src/*.cc ./src/*.h ./src/util/*.h",
115106
"lint-test.eslint": "eslint ./**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/",
116-
"lint.eslint": "pnpm run lint-test.eslint --fix",
107+
"lint.eslint": "run-s 'lint-test.eslint --fix'",
117108
"lint.tsc": "tsc --noEmit -p ./src/tsconfig.json",
118109
"lint.tsc-test": "tsc --noEmit -p ./test/tsconfig.json",
119110
"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",
120111
"lint": "run-p lint.tsc-test lint.tsc lint.eslint format",
121112
"lint-test": "run-s lint-test.eslint",
122113
"bench": "node --expose-gc test/bench",
123-
"prepare": "pnpm run build.js",
124-
"bump": "pnpx npm-check-updates -u -x typescript,eslint,chai,@types/chai && pnpx typesync"
114+
"prepare": "run-s build.js",
115+
"bump": "npx npm-check-updates -u -x typescript,eslint,chai,@types/chai && npx typesync"
125116
},
126117
"cmake-ts": {
127118
"nodeAPI": "node-addon-api",
@@ -239,5 +230,9 @@
239230
"napi"
240231
],
241232
"license": "MIT AND MPL-2.0",
242-
"author": "Amin Yahyaabadi <[email protected]>, Rolf Timmermans <[email protected]>"
233+
"author": "Amin Yahyaabadi <[email protected]>, Rolf Timmermans <[email protected]>",
234+
"overrides": {
235+
"typescript": "~4.9.5",
236+
"node-gyp": "10.0.1"
237+
}
243238
}

0 commit comments

Comments
 (0)