-
Notifications
You must be signed in to change notification settings - Fork 9k
/
template.json
53 lines (53 loc) · 1.01 KB
/
template.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
{
"dependencies": {
"react": {
"$remove": true
},
"react-dom": {
"$remove": true
}
},
"scripts": {
"$remove": true
},
"devDependencies": {
"$remove": true
},
"config": {
"$remove": true
},
"name": "swagger-ui-react",
"main": "index.cjs",
"module": "index.mjs",
"exports": {
"$replace": {
"./swagger-ui.css": "./swagger-ui.css",
".": {
"import": "./index.mjs",
"require": "./index.cjs"
}
}
},
"imports": {
"$replace": {
"#swagger-ui": {
"browser": {
"import": "./swagger-ui-es-bundle-core.js",
"require": "./swagger-ui.js"
},
"node": {
"import": "./swagger-ui-bundle.js",
"require": "./swagger-ui-es-bundle.js"
},
"default": {
"import": "./swagger-ui-bundle.js",
"require": "./swagger-ui-es-bundle.js"
}
}
}
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
}
}