c23a80e6f0
no issue By default, CRAs build process creates chunked script files and adds them to default index.html. The updated build process uses `rewire` and `webpack` to - - Tweak CRAs default behavior by switching off chunking, which leads to a single script - Uses webpack locally to combine JS and CSS built by above step into a single `bundle.min.js`
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
{
|
|
"name": "membersjs",
|
|
"version": "0.1.0",
|
|
"license": "MIT",
|
|
"repository": "git@github.com:TryGhost/membersjs.git",
|
|
"author": "Ghost Foundation",
|
|
"dependencies": {
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
"@testing-library/react": "^9.3.2",
|
|
"@testing-library/user-event": "^7.1.2",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-scripts": "3.4.1"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "npm run build:combined && npm run build:bundle",
|
|
"build:combined": "node ./scripts/build-combined.js",
|
|
"build:bundle": "webpack --config webpack.config.js",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"rewire": "^5.0.0",
|
|
"webpack-cli": "^3.3.11"
|
|
}
|
|
}
|