mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
* ༼ つ ◕_◕ ༽つ stack-frame-overlay * Fix linting * Remove auto overlay * Fix e2e * Pull in the rest * Appease flow * Correct dep * Remove old repo references * Check flow on test * Test overlay in e2e * Add cross env * Rename package * Make sure it gets built post-install * Update the README * Remove extra builds now that there's a postinstall script * Revert "Remove extra builds now that there's a postinstall script" This reverts commit 8bf601dbd36c1e0da7f785fa9ade70ab08ed8772. * Remove broken script * Fix some dev ergo
30 lines
948 B
JSON
30 lines
948 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "node packages/react-scripts/scripts/build.js",
|
|
"changelog": "lerna-changelog",
|
|
"create-react-app": "tasks/cra.sh",
|
|
"e2e": "tasks/e2e-simple.sh",
|
|
"postinstall": "lerna bootstrap && cd packages/react-error-overlay/ && npm run build:prod",
|
|
"publish": "tasks/release.sh",
|
|
"start": "node packages/react-scripts/scripts/start.js",
|
|
"test": "node packages/react-scripts/scripts/test.js --env=jsdom",
|
|
"format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'",
|
|
"precommit": "lint-staged"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "3.16.1",
|
|
"husky": "^0.13.2",
|
|
"lerna": "2.0.0-beta.38",
|
|
"lerna-changelog": "^0.2.3",
|
|
"lint-staged": "^3.3.1",
|
|
"prettier": "^0.21.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --trailing-comma es5 --single-quote --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|