-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 2.37 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
{
"name": "@webreflection/custom-elements",
"version": "1.3.0",
"description": "All inclusive customElements polyfill for every browser",
"main": "./cjs/index.js",
"unpkg": "min.js",
"module": "./esm/index.js",
"type": "module",
"exports": {
".": {
"import": "./esm/index.js",
"default": "./cjs/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "node bundle/build.js && npm run rollup && npm run copy && npm run move && npm run patch && npm run pony && npm run modules && npm run delete && npm run min && npm run size",
"copy": "echo '/*! (c) Andrea Giammarchi @webreflection ISC */' > index.js && cat tmp.js >> index.js",
"modules": "mv pony.js esm/index.js && ascjs --no-default esm cjs",
"move": "echo '/*! (c) Andrea Giammarchi @webreflection ISC */' > pony.js && cat bundle/pony.js >> pony.js",
"delete": "rm bundle/index.js && rm bundle/pony.js && rm tmp.js",
"patch": "sed -i.bck 's/.*setPrototypeOf.*HTMLBuiltIn.*//' index.js && rm -rf index.js.bck",
"pony": "sed -i.bck 's/.*setPrototypeOf.*HTMLBuiltIn.*//' pony.js && rm -rf pony.js.bck",
"rollup": "rollup --config rollup/babel.config.js && rollup --config rollup/es.config.js && rollup --config rollup/test.config.js",
"min": "terser index.js --comments='/^!/' -c -m -o min.js",
"size": "cat min.js | gzip | wc -c && cat es.js | gzip | wc -c"
},
"keywords": [
"customElements",
"polyfill"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@webreflection/custom-elements-builtin": "^0.4.1",
"@webreflection/custom-elements-no-builtin": "^0.3.0",
"@webreflection/custom-elements-when-defined": "^0.2.0",
"ascjs": "^5.0.1",
"rollup": "^3.25.1",
"rollup-plugin-includepaths": "^0.2.4",
"terser": "^5.18.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/WebReflection/custom-elements.git"
},
"bugs": {
"url": "https://github.com/WebReflection/custom-elements/issues"
},
"homepage": "https://github.com/WebReflection/custom-elements#readme",
"dependencies": {
"@webreflection/custom-elements-attributes": "^0.1.4",
"qsa-observer": "^3.0.2"
}
}