Browse Source

fix #1681 `lint-staged` no longer supports running scripts defined in package.json.

pull/1697/head
陈帅 8 years ago
parent
commit
6c1b112a40
  1. 3
      .gitignore
  2. 2
      package.json

3
.gitignore

@ -8,7 +8,7 @@ _roadhog-api-doc
# production
/dist
/vscode
/.vscode
# misc
.DS_Store
@ -21,4 +21,3 @@ yarn.lock
package-lock.json
*bak
jsconfig.json
.vscode/settings.json

2
package.json

@ -89,7 +89,7 @@
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "lint-staged:js",
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.less": "stylelint --syntax less"
},
"engines": {

Loading…
Cancel
Save