Skip to content
This repository was archived by the owner on May 15, 2021. It is now read-only.

Commit 157ebc4

Browse files
chore: refine update script
1 parent fdcd4c9 commit 157ebc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint:fix": "eslint --fix 'src/**/*.ts' '__tests__/**/*.ts'",
3232
"release": "yarn release-ga --test",
3333
"test": "yarn lint && yarn cover",
34-
"update": "npx npm-check-updates -u && yarn install && yarn upgrade && yarn audit",
34+
"update": "npm_config_yes=true npx npm-check-updates -u --timeout 100000 && yarn install && yarn upgrade && yarn audit",
3535
"postinstall": "[ -n \"$CI\" ] || [ ! -f node_modules/.bin/husky ] || husky install",
3636
"prepublishOnly": "[ -n \"$CI\" ] || [ ! -f node_modules/.bin/pinst ] || pinst --disable",
3737
"postpublish": "[ -n \"$CI\" ] || [ ! -f node_modules/.bin/pinst ] || pinst --enable"

0 commit comments

Comments
 (0)