craco-module-federation
Version:
Add module federation support to your CRA5 application without ejecting
53 lines (52 loc) • 1.28 kB
JSON
{
"name": "app1",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"cross-env": "^7.0.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "^5.0.0-next.31",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"resolutions": {
"workbox-webpack-plugin": "6.2.0",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.0-rc.4"
},
"scripts": {
"start": "cp ../../index.js ./plugin.js && craco start",
"build": "cp ../../index.js ./plugin.js && craco build",
"serve": "npm run build && serve -s build -p 3000",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@craco/craco": "^6.2.0"
}
}