Skip to content

Commit

Permalink
chore: refine update script
Browse files Browse the repository at this point in the history
  • Loading branch information
technote-space committed Apr 29, 2021
1 parent ccfce88 commit 221ed2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"lint:fix": "eslint --fix 'src/**/*.ts' '__tests__/**/*.ts'",
"release": "yarn release-ga --test",
"test": "yarn lint && yarn cover",
"update": "npx npm-check-updates -u && yarn install && yarn upgrade && yarn audit",
"update": "npm_config_yes=true npx npm-check-updates -u --timeout 100000 && yarn install && yarn upgrade && yarn audit",
"postinstall": "[ -n \"$CI\" ] || [ ! -f node_modules/.bin/husky ] || husky install",
"prepublishOnly": "[ -n \"$CI\" ] || [ ! -f node_modules/.bin/pinst ] || pinst --disable",
"postpublish": "[ -n \"$CI\" ] || [ ! -f node_modules/.bin/pinst ] || pinst --enable"
Expand Down

0 comments on commit 221ed2a

Please sign in to comment.