@descriptive/web-scripts
See react-scripts (repository).
Install
npm install @descriptive/web-scripts
Changes
New files:
CHANGELOG.md
Removed files and folders:
fixtures/
template-typescript/
template/
.npmignore
LICENSE
Remove the files and folders:
rm -rf fixtures/ \
template-typescript/ \
template/ \
.npmignore \
LICENSE
Updated files:
config/env.js
config/jest/babelTransform.js
config/webpack.config.js
scripts/start.js
package.json
README.md
package.json
diff:
{
"dependencies": {
- "@pmmmwh/react-refresh-webpack-plugin": "0.4.3",
- "babel-preset-react-app": "^10.0.0",
- "eslint-config-react-app": "^6.0.0",
- "eslint-plugin-react": "^7.21.5",
- "eslint-plugin-react-hooks": "^4.2.0",
- "react-app-polyfill": "^2.0.0",
- "react-refresh": "^0.8.3",
+ "@babel/plugin-proposal-class-properties": "^7.12.1",
+ "@babel/preset-env": "^7.12.11",
+ "@descriptive/eslint-config-web-app": "1.0.1",
},
- "devDependencies": {
- "react": "^17.0.1",
- "react-dom": "^17.0.1"
- },
"peerDependencies": {
- "react": ">= 16",
},
}
Remove the dependencies:
npm rm -S @pmmmwh/react-refresh-webpack-plugin \
babel-preset-react-app \
eslint-config-react-app \
eslint-plugin-react \
eslint-plugin-react-hooks \
react-app-polyfill \
react-refresh
Remove the devDependencies:
npm rm -D react \
react-dom
Save the dependencies:
npm i -S @babel/preset-env \
@descriptive/eslint-config-web-app
Migration
To migrate web-app-template to @descriptive/web-scripts:
npx web-scripts-migration
See web-scripts-migration.
License
MIT