-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
70 lines (70 loc) · 2.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "micro-app-demo",
"version": "0.1.0",
"private": true,
"dependencies": {
"@micro-zoe/micro-app": "^1.0.0-alpha.10",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/lodash": "^4.14.182",
"@types/node": "^16.7.13",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.2",
"@types/react-router-dom": "5.1.2",
"antd": "^4.21.6",
"form-render": "^1.13.11",
"less": "^4.1.3",
"lodash": "^4.17.21",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-router-dom": "5.1.2",
"react-scripts": "5.0.1",
"sass": "^1.53.0",
"typescript": "^4.4.2",
"web-vitals": "^2.1.0"
},
"scripts": {
"start": "set PORT=3021 && react-app-rewired start",
"start-vite": "vite --host",
"start:child-app1": "cd packages/child-app1 && yarn start",
"start:child-app2": "cd packages/child-app2 && yarn start",
"start:child-app3": "cd packages/child-app3 && yarn start",
"start:mf-app1": "cd packages/module-federation-demo && yarn start:app1",
"start:mf-app2": "cd packages/module-federation-demo && yarn start:app2",
"start:mf-app3": "cd packages/module-federation-demo && yarn start:app3",
"install:main": "yarn",
"install:child-app1": "cd packages/child-app1 && yarn",
"install:child-app2": "cd packages/child-app2 && yarn",
"install:child-app3": "cd packages/child-app3 && yarn",
"install:mf-all": "cd packages/module-federation-demo && yarn install:all",
"build": "react-app-rewired build",
"test": "react-app-rewired 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": {
"@vitejs/plugin-react": "^1.3.2",
"customize-cra": "^1.0.0",
"react-app-rewired": "^2.2.1",
"vite": "^2.9.14"
}
}