-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
165 lines (165 loc) · 5.99 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "disqusjs",
"version": "3.0.3-canary.1",
"description": "Alternative DISQUS - Render comments components from Disqus API",
"homepage": "https://disqusjs.skk.moe",
"repository": {
"type": "git",
"url": "git+https://github.com/SukkaW/disqusjs.git"
},
"bugs": {
"url": "https://github.com/SukkaW/disqusjs/issues"
},
"main": "dist/disqusjs.es2015.umd.js",
"module": "dist/disqusjs.es2015.es.mjs",
"types": "dist/disqusjs.es2015.umd.d.ts",
"files": [
"LICENSE",
"dist/**/*"
],
"exports": {
"./dist/": "./dist/",
"./package.json": "./package.json",
"./styles/disqusjs.css": "./dist/styles/disqusjs.css",
".": {
"types": "./dist/disqusjs.es2015.umd.d.ts",
"import": "./dist/disqusjs.es2015.es.mjs",
"module": "./dist/disqusjs.es2015.es.js",
"default": "./dist/disqusjs.es2015.umd.js"
},
"./es2015": {
"types": "./dist/disqusjs.es2015.umd.d.ts",
"import": "./dist/disqusjs.es2015.es.mjs",
"module": "./dist/disqusjs.es2015.es.js",
"default": "./dist/disqusjs.es2015.umd.js"
},
"./es2017": {
"types": "./dist/disqusjs.es2017.umd.d.ts",
"import": "./dist/disqusjs.es2017.es.mjs",
"module": "./dist/disqusjs.es2017.es.js",
"default": "./dist/disqusjs.es2017.umd.js"
},
"./es2022": {
"types": "./dist/disqusjs.es2022.umd.d.ts",
"import": "./dist/disqusjs.es2022.es.mjs",
"module": "./dist/disqusjs.es2022.es.js",
"default": "./dist/disqusjs.es2022.umd.js"
},
"./react/styles/disqusjs.css": "./dist/react/styles/disqusjs.css",
"./react": {
"types": "./dist/react/disqusjs.es2015.cjs.d.ts",
"import": "./dist/react/disqusjs.es2015.es.mjs",
"module": "./dist/react/disqusjs.es2015.es.js",
"default": "./dist/react/disqusjs.es2015.cjs.js"
},
"./react/es2015": {
"types": "./dist/react/disqusjs.es2015.cjs.d.ts",
"import": "./dist/react/disqusjs.es2015.es.mjs",
"module": "./dist/react/disqusjs.es2015.es.js",
"default": "./dist/react/disqusjs.es2015.cjs.js"
},
"./react/es2017": {
"types": "./dist/react/disqusjs.es2017.cjs.d.ts",
"import": "./dist/react/disqusjs.es2017.es.mjs",
"module": "./dist/react/disqusjs.es2017.es.js",
"default": "./dist/react/disqusjs.es2017.cjs.js"
},
"./react/es2022": {
"types": "./dist/react/disqusjs.es2022.cjs.d.ts",
"import": "./dist/react/disqusjs.es2022.es.mjs",
"module": "./dist/react/disqusjs.es2022.es.js",
"default": "./dist/react/disqusjs.es2022.cjs.js"
},
"./browser": {
"import": "./dist/browser/disqusjs.es2018.es.min.mjs",
"module": "./dist/browser/disqusjs.es2018.es.min.js",
"default": "./dist/browser/disqusjs.es2015.umd.min.js"
}
},
"jsdelivr": "./dist/browser/disqusjs.es2015.umd.min.js",
"scripts": {
"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production rollup --configPlugin swc3 -c rollup.config.ts --bundleConfigAsCjs",
"prepublishOnly": "npm run build",
"prebuild:analyze": "rimraf dist",
"build:analyze": "cross-env NODE_ENV=production ANALYZE=true rollup --configPlugin swc3 -c rollup.config.ts",
"dev": "nollup -c ./example/rollup.config.js --rc ./example/.nolluprc.js --environment NODE_ENV:development",
"lint": "eslint --format=sukka ."
},
"keywords": [
"Disqus",
"DisqusJS",
"SukkaW",
"react",
"preact"
],
"author": "Sukka <https://skk.moe>",
"license": "MIT",
"dependencies": {
"foxact": "^0.2.35"
},
"devDependencies": {
"@eslint-sukka/node": "^6.0.0-beta.25",
"@eslint-sukka/react": "^6.0.0-beta.25",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@swc/core": "^1.6.5",
"@swc/helpers": "^0.5.11",
"@types/node": "^20.14.8",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"cross-env": "^7.0.3",
"eslint": "^9.5.0",
"eslint-config-sukka": "^6.0.0-beta.25",
"eslint-formatter-sukka": "^6.0.0-beta.25",
"nollup": "^0.21.0",
"preact": "^10.22.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-refresh": "^0.9.0",
"rimraf": "^5.0.7",
"rollup": "^4.18.0",
"rollup-plugin-commonjs-alternate": "^0.8.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-hot-css": "^0.7.2",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-react-refresh": "^0.0.3",
"rollup-plugin-static-files": "^0.2.0",
"rollup-plugin-swc3": "^0.11.2",
"sass": "^1.77.6",
"vite-bundle-analyzer": "^0.10.3"
},
"peerDependencies": {
"preact": "^10.7.1",
"react": "^16.11.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"preact": {
"optional": true
},
"react": {
"optional": true
}
},
"overrides": {
"array-includes": "npm:@nolyfill/array-includes@latest",
"array.prototype.flat": "npm:@nolyfill/array.prototype.flat@latest",
"array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@latest",
"array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@latest",
"es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@latest",
"function-bind": "npm:@nolyfill/function-bind@latest",
"has": "npm:@nolyfill/has@latest",
"has-proto": "npm:@nolyfill/has-proto@latest",
"has-symbols": "npm:@nolyfill/has-symbols@latest",
"object.assign": "npm:@nolyfill/object.assign@latest",
"object.entries": "npm:@nolyfill/object.entries@latest",
"object.fromentries": "npm:@nolyfill/object.fromentries@latest",
"object.hasown": "npm:@nolyfill/object.hasown@latest",
"object.values": "npm:@nolyfill/object.values@latest",
"side-channel": "npm:@nolyfill/side-channel@latest",
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@latest"
},
"packageManager": "[email protected]+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
}