mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-08 17:19:18 +08:00
* Warn about unsupported Node.js versions
Add the `engines` field to package.json so users of old Node.js versions
will at least get a warning when trying to install create-react-app or
react-scripts, e.g.:
npm WARN engine create-react-app@0.3.0: wanted: {"node":">=6"} (current: {"node":"4.2.3","npm":"2.14.7"})
* Remove duplicated field and extra whitespace
* Change the engine version back to 4
30 lines
608 B
JSON
30 lines
608 B
JSON
{
|
|
"name": "create-react-app",
|
|
"version": "0.3.0",
|
|
"keywords": [
|
|
"react"
|
|
],
|
|
"description": "Create React apps with no build configuration.",
|
|
"repository": "facebookincubator/create-react-app",
|
|
"license": "BSD-3-Clause",
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/facebookincubator/create-react-app/issues"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"bin": {
|
|
"create-react-app": "./index.js"
|
|
},
|
|
"dependencies": {
|
|
"chalk": "^1.1.1",
|
|
"cross-spawn": "^4.0.0",
|
|
"minimist": "^1.2.0",
|
|
"path-exists": "^3.0.0",
|
|
"semver": "^5.0.3"
|
|
}
|
|
}
|