Skip to content

Commit 304fd07

Browse files
committed
refact: update dependencies
1 parent c4c14a8 commit 304fd07

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@
77
"doc": "docs"
88
},
99
"scripts": {
10-
"prepush": "npm update",
1110
"build": "loppo --site \"JavaScript 教程\" --id javascript --theme wangdoc",
1211
"build-and-commit": "npm run build && npm run commit",
1312
"commit": "gh-pages --dist dist --dest dist/javascript --branch master --add --repo git@github.com:wangdoc/website.git",
1413
"chapter": "loppo chapter",
1514
"test": "echo \"Error: no test specified\" && exit 1"
1615
},
16+
"husky": {
17+
"hooks": {
18+
"pre-push": "npm update"
19+
}
20+
},
1721
"repository": {
1822
"type": "git",
1923
"url": "git+https://github.com/wangdoc/javascript-tutorial.git"

0 commit comments

Comments
 (0)