mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-03-30 08:54:21 +08:00
* Update dependencies * Use published version of eslint-config-react-app for development We dogfood on our eslint-config-react-app by using it as our ESLint config, but installing it from the local folder causes problems when its peerDependencies are updated, because npm won't update it unless the version number changes. Use the published version for dogfooding so it can be installed from npm.
23 lines
676 B
JSON
23 lines
676 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "node packages/react-scripts/scripts/build.js",
|
|
"create-react-app": "tasks/cra.sh",
|
|
"e2e": "tasks/e2e.sh",
|
|
"postinstall": "lerna bootstrap",
|
|
"publish": "tasks/release.sh",
|
|
"start": "node packages/react-scripts/scripts/start.js",
|
|
"test": "node packages/react-scripts/scripts/test.js --env=jsdom"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "6.1.2",
|
|
"eslint": "3.5.0",
|
|
"eslint-config-react-app": "0.2.1",
|
|
"eslint-plugin-flowtype": "2.18.1",
|
|
"eslint-plugin-import": "1.12.0",
|
|
"eslint-plugin-jsx-a11y": "2.2.2",
|
|
"eslint-plugin-react": "6.3.0",
|
|
"lerna": "2.0.0-beta.30"
|
|
}
|
|
}
|