mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-23 20:51:12 +08:00
Update tons of packages (#5080)
This commit is contained in:
10
package.json
10
package.json
@@ -15,13 +15,12 @@
|
||||
"screencast": "node ./tasks/screencast.js",
|
||||
"screencast:error": "svg-term --cast jyu19xGl88FQ3poMY8Hbmfw8y --out screencast-error.svg --window --at 12000 --no-cursor",
|
||||
"test": "cd packages/react-scripts && node bin/react-scripts.js test",
|
||||
"format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'",
|
||||
"precommit": "lint-staged"
|
||||
"format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "5.6.0",
|
||||
"execa": "1.0.0",
|
||||
"husky": "^0.14.3",
|
||||
"husky": "1.0.0-rc.15",
|
||||
"lerna": "2.9.1",
|
||||
"lerna-changelog": "^0.8.0",
|
||||
"lint-staged": "^7.0.5",
|
||||
@@ -31,6 +30,11 @@
|
||||
"svg-term-cli": "^2.1.1",
|
||||
"tempy": "^0.2.1"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": [
|
||||
"prettier --trailing-comma es5 --single-quote --write",
|
||||
|
||||
Reference in New Issue
Block a user