mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Updates dependencies and removes babel plugins that are now covered by `@babel/preset-env`. Co-authored-by: hdineen <hdineen@hubspot.com>
64 lines
1.9 KiB
JSON
64 lines
1.9 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",
|
|
"alex": "alex .",
|
|
"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": {
|
|
"@testing-library/jest-dom": "^4.2.0",
|
|
"@testing-library/react": "^9.3.0",
|
|
"@testing-library/user-event": "^7.1.2",
|
|
"alex": "^8.0.0",
|
|
"eslint": "^6.1.0",
|
|
"execa": "1.0.0",
|
|
"fs-extra": "^7.0.1",
|
|
"get-port": "^4.2.0",
|
|
"globby": "^9.1.0",
|
|
"husky": "^1.3.1",
|
|
"jest": "24.9.0",
|
|
"lerna": "3.19.0",
|
|
"lerna-changelog": "~0.8.2",
|
|
"lint-staged": "^8.0.4",
|
|
"meow": "^5.0.0",
|
|
"multimatch": "^3.0.0",
|
|
"prettier": "1.19.1",
|
|
"puppeteer": "^2.0.0",
|
|
"strip-ansi": "^5.1.0",
|
|
"svg-term-cli": "^2.1.1",
|
|
"tempy": "^0.2.1",
|
|
"wait-for-localhost": "^3.1.0"
|
|
},
|
|
"resolutions": {
|
|
"mkdirp": "0.5.1"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|