Skip to content

Commit bea328b

Browse files
committed
fix: add cross-env to dependencies
Fixes #649
1 parent 4af17f5 commit bea328b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"dependencies": {
2222
"@aminya/node-gyp-build": "4.8.1-aminya.1",
2323
"node-addon-api": "^7.1.0",
24-
"shelljs": "^0.8.5"
24+
"shelljs": "^0.8.5",
25+
"cross-env": "^7.0.3"
2526
},
2627
"devDependencies": {
2728
"@types/chai": "^4.3.16",
@@ -55,7 +56,6 @@
5556
"typedoc": "^0.25.13",
5657
"typescript": "~4.9.5",
5758
"which": "^4.0.0",
58-
"cross-env": "^7.0.3",
5959
"shx": "^0.3.4"
6060
},
6161
"pnpm": {
@@ -82,7 +82,7 @@
8282
"tsconfig.json"
8383
],
8484
"scripts": {
85-
"install": "(npm run build.js || echo ok) && cross-env npm_config_build_from_source=true aminya-node-gyp-build",
85+
"install": "(npm run build.js || echo __skipping_js_build__) && cross-env npm_config_build_from_source=true aminya-node-gyp-build",
8686
"clean": "shx rm -rf ./build ./lib/ ./prebuilds ./script/*.js ./script/*.mjs ./script/*.js.map ./script/*.mjs.map ./script/*.d.ts ./script/*.d.mts ./script/*.cjs ./scripts/*.cjs.map ./scripts/*.d.cts ./script/*.tsbuildinfo",
8787
"clean.release": "shx rm -rf ./build/Release",
8888
"clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp",

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)