mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-08 08:04:08 +08:00
* Update to jest 24 * Add notice about pnpResolver.js * Formatting * Fix linting * Update to jest 24.1.0 * Update jest-pnp-resolver * Swap create-react-app params in e2e scripts * Add extraGlobals to supportedKeys * Bump jest to 24.3.1 * Bump jest to 24.4.0 * Bumb jest to 24.5.0 * Update template dependencies jest to 24.5.0 * Debug failing test * Remove jest-pnp-resolver * Remove console.log * Revert yarn.lock.cached
56 lines
1.7 KiB
JSON
56 lines
1.7 KiB
JSON
{
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "cd packages/react-scripts && node bin/react-scripts.js build",
|
|
"changelog": "lerna-changelog",
|
|
"create-react-app": "node tasks/cra.js",
|
|
"e2e": "tasks/e2e-simple.sh",
|
|
"e2e:docker": "tasks/local-test.sh",
|
|
"postinstall": "cd packages/react-error-overlay/ && yarn build:prod",
|
|
"publish": "tasks/publish.sh",
|
|
"start": "cd packages/react-scripts && node bin/react-scripts.js start",
|
|
"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'",
|
|
"compile:lockfile": "node tasks/compile-lockfile.js"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "5.15.1",
|
|
"execa": "1.0.0",
|
|
"fs-extra": "^7.0.1",
|
|
"get-port": "^4.2.0",
|
|
"globby": "^9.1.0",
|
|
"husky": "^1.3.1",
|
|
"jest": "^24.5.0",
|
|
"lerna": "2.9.1",
|
|
"lerna-changelog": "~0.8.2",
|
|
"lint-staged": "^8.0.4",
|
|
"meow": "^5.0.0",
|
|
"multimatch": "^3.0.0",
|
|
"prettier": "1.16.4",
|
|
"puppeteer": "^1.13.0",
|
|
"strip-ansi": "^5.1.0",
|
|
"svg-term-cli": "^2.1.1",
|
|
"tempy": "^0.2.1",
|
|
"wait-for-localhost": "^3.1.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,md,css,html}": [
|
|
"prettier --trailing-comma es5 --single-quote --write",
|
|
"git add"
|
|
],
|
|
"yarn.lock": [
|
|
"git rm --cached"
|
|
]
|
|
}
|
|
}
|