-
-
Notifications
You must be signed in to change notification settings - Fork 300
/
Copy pathpackage.json
77 lines (77 loc) · 2.02 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
71
72
73
74
75
76
77
{
"name": "@module-federation/bridge-react",
"version": "0.11.1",
"publishConfig": {
"access": "public"
},
"author": "zhouxiao <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/module-federation/core",
"directory": "packages/bridge-react"
},
"type": "module",
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
},
"./router": {
"types": "./dist/router.d.ts",
"import": "./dist/router.es.js",
"require": "./dist/router.cjs.js"
},
"./plugin": {
"types": "./dist/plugin.d.ts",
"import": "./dist/plugin.es.js",
"require": "./dist/plugin.es.js"
},
"./router-v5": {
"types": "./dist/router-v5.d.ts",
"import": "./dist/router-v5.es.js",
"require": "./dist/router-v5.cjs.js"
},
"./router-v6": {
"types": "./dist/router-v6.d.ts",
"import": "./dist/router-v6.es.js",
"require": "./dist/router-v6.cjs.js"
},
"./*": "./*"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@module-federation/bridge-shared": "workspace:*",
"@module-federation/sdk": "workspace:*",
"react-error-boundary": "^4.1.2"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0",
"react-router-dom": "^4 || ^5 || ^6 || ^7"
},
"devDependencies": {
"@testing-library/react": "15.0.7",
"@types/react": "18.2.79",
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react": "^4.3.3",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"jsdom": "^24.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.22.3",
"typescript": "^5.2.2",
"vite": "^5.4.12",
"vite-plugin-dts": "^4.3.0",
"@module-federation/runtime": "workspace:*"
}
}