Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make development install compatible with npm #698

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,20 @@
"typescript": "~4.9.5",
"which": "^5.0.0"
},
"engines": {
"node": ">= 10",
"pnpm": ">= 9"
},
"overrides": {
"typescript": "~4.9.5",
"node-gyp": "10.0.1"
},
"pnpm": {
"overrides": {
"typescript": "~4.9.5",
"node-gyp": "10.0.1"
}
},
"engines": {
"node": ">= 10",
"pnpm": ">= 9"
},
"files": [
"CHANGELOG.md",
"LICENSE.txt",
Expand Down Expand Up @@ -119,15 +123,15 @@
"format.prettier": "prettier -l --cache --cache-location ./.cache/prettier --write .",
"format.clang-format": "clang-format -i -style=file ./src/*.cc ./src/*.h ./src/util/*.h",
"lint-test.eslint": "eslint './**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/",
"lint.eslint": "pnpm run lint-test.eslint --fix",
"lint.eslint": "run-s 'lint-test.eslint --fix'",
"lint.tsc": "tsc --noEmit -p ./src/tsconfig.json",
"lint.tsc-test": "tsc --noEmit -p ./test/tsconfig.json",
"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",
"lint": "run-p lint.tsc-test lint.tsc lint.eslint format",
"lint-test": "run-s lint-test.eslint",
"bench": "node --expose-gc test/bench",
"prepare": "pnpm run build.js",
"bump": "pnpx npm-check-updates -u -x typescript,eslint,chai,@types/chai && pnpx typesync"
"prepare": "run-s build.js",
"bump": "npx npm-check-updates -u -x typescript,eslint,chai,@types/chai && npx typesync"
},
"cmake-ts": {
"nodeAPI": "node-addon-api",
Expand Down Expand Up @@ -246,4 +250,4 @@
],
"license": "MIT AND MPL-2.0",
"author": "Amin Yahyaabadi <[email protected]>, Rolf Timmermans <[email protected]>"
}
}
Loading