Skip to content

Commit 5bb91f9

Browse files
committed
chore: update setup script
1 parent 628a620 commit 5bb91f9

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.idea/encodings.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"clean": "npx rimraf node_modules package-lock.json && npm run setup",
1616
"build": "grunt",
1717
"build.all": "grunt test",
18-
"setup": "npm i --ignore-scripts && ./node_modules/.bin/grunt",
18+
"setup": "npm i --ignore-scripts && npm run build",
1919
"test": "mocha --config=test/.mocharc.yml",
2020
"postinstall": "node postinstall.js",
2121
"preuninstall": "node preuninstall.js",
@@ -157,7 +157,7 @@
157157
},
158158
"husky": {
159159
"hooks": {
160-
"pre-commit": "lint-staged"
160+
"pre-commit": "npx lint-staged"
161161
}
162162
},
163163
"lint-staged": {

0 commit comments

Comments
 (0)