Skip to content

Commit

Permalink
fix: check for the existence of build.js in a clean repo
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Nov 18, 2022
1 parent d05dae6 commit 7add2e6
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 28 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"dependencies": {
"node-addon-api": "^5.0.0",
"node-gyp-build": "^4.5.0",
"shelljs": "^0.8.5"
"shelljs": "^0.8.5",
"shx": "^0.3.4"
},
"devDependencies": {
"@gnd/typedoc": "^0.15.0-0",
Expand All @@ -46,7 +47,6 @@
"prettier": "^2.7.1",
"rocha": "^2.5.10",
"semver": ">=7",
"shx": "^0.3.4",
"tar-fs": "^2.1.1",
"ts-morph": "^16.0.0",
"ts-node": "10.9",
Expand All @@ -70,7 +70,7 @@
"tsconfig.json"
],
"scripts": {
"install": "node-gyp-build",
"install": "(shx test -f ./script/build.js || run-s build.js) && node-gyp-build",
"clean": "shx rm -rf ./build ./lib/ ./prebuilds",
"clean.temp": "shx rm -rf ./tmp && shx mkdir -p tmp && shx touch tmp/.gitkeep",
"build.library": "shx rm -rf ./lib && tsc && node script/ci/downlevel-dts.js",
Expand Down
60 changes: 35 additions & 25 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7add2e6

Please sign in to comment.