Skip to content

Commit

Permalink
build(deps): allow running npm i even w/o package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
atao60 committed Jun 23, 2021
1 parent 928fae9 commit 3080bba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
"cli:publish:gh": "ts-node ./tools/publish-gh",
"test:scripts": "mocha --config ./.mocharc-scripts.json",
"update:copyright": "node ./scripts/update-copyright",
"preinstall": "npx npm-force-resolutions"
"preinstall": "npm run lock:create && npx npm-force-resolutions",
"lock:create": "npx path-exists-cli package-lock.json || npm install --package-lock-only --ignore-scripts"
},
"keywords": [
"fse",
Expand Down

0 comments on commit 3080bba

Please sign in to comment.