-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
59 lines (59 loc) · 1.51 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
{
"name": "dangerous-html",
"version": "0.1.10",
"description": "",
"main": "dist/default/lib.js",
"module": "dist/default/lib.mjs",
"unpkg": "dist/default/lib.umd.mjs",
"exports": {
".": {
"import": "./dist/default/lib.mjs",
"require": "./dist/default/lib.js",
"umd": "./dist/default/lib.umd.js"
},
"./react": {
"import": "./dist/react/lib.mjs",
"require": "./dist/react/lib.js",
"umd": "./dist/react/lib.umd.js"
},
"./vue": {
"import": "./dist/vue/lib.mjs",
"require": "./dist/vue/lib.js",
"umd": "./dist/vue/lib.umd.js"
}
},
"scripts": {
"test": "yarn build && cp dist/default/lib.umd.js example/ && http-server example/",
"build": "yarn build:umd && yarn build:react && yarn build:vue",
"build:umd": "vite build",
"build:react": "vite build -c vite.config-react.js",
"build:vue": "vite build -c vite.config-vue.js"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/JayaKrishnaNamburu/danerously-set-html/issues"
},
"homepage": "https://github.com/JayaKrishnaNamburu/danerously-set-html#readme",
"devDependencies": {
"@vitejs/plugin-vue2": "^2.0.0",
"http-server": "^14.1.1",
"lit": "^2.4.0",
"preact": "^10.3.2",
"react": "^18.2.0",
"vite": "^3.1.8",
"vue": "^2.7.0"
},
"peerDependencies": {
"react": "^17.x",
"vue": "^2.x"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"vue": {
"optional": true
}
}
}