mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
* Use a more sophisticated template for end-to-end testing. * Not publish integration tests to npm * Use "commander" for cli argv handling * Handle different scripts version forms and exits without a name given * Prepare the commands for testing with a template * Fix dev "template" path * Add various features to test * Test various features separately * Test language features * Comment unused e2e.sh lines * Add "development" tests * Test environment variables * Test webpack plugins * Replace kitchensink README * Switch integration tests from jest to mocha * Use `fs-extra` * Use the correct folders * Do some cleanup * Print a better message for `--template` * Test `npm start` with and without https * Separate fast e2e testing from kitchensink testing * Hide `--internal-testing-template` (former `--template`) CLI option
25 lines
752 B
JSON
25 lines
752 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",
|
|
"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",
|
|
"lerna-changelog": "^0.2.3"
|
|
}
|
|
}
|