UNPKG

1.42 kBJSONView Raw
1{
2 "name": "@ungap/custom-elements-builtin",
3 "version": "0.1.2",
4 "description": "A polyfill for Custom Elements builtin extends",
5 "main": "cjs/index.js",
6 "module": "esm/index.js",
7 "unpkg": "min.js",
8 "scripts": {
9 "build": "npm run cjs && npm run esm && npm run min && npm run test && npm run size",
10 "cjs": "cp index.js cjs/",
11 "esm": "cp index.js esm/",
12 "min": "uglifyjs index.js --support-ie8 --comments=/^!/ -c -m -o min.js",
13 "size": "cat index.js | wc -c && cat min.js | wc -c && gzip -c9 min.js | wc -c && cat min.js | brotli | wc -c",
14 "test": "npm run server & (sleep 1 && npm run nightmare && npm run kill)",
15 "nightmare": "node test/nightmare.js || (npm run kill && exit 1)",
16 "server": "node -e 'require(`fs`).writeFileSync(`pid`,require(`child_process`).spawn(`http-server`,[`.`,`-s`]).pid);'",
17 "kill": "kill -9 $(cat pid) && rm -f pid"
18 },
19 "keywords": [
20 "customElements",
21 "builtin",
22 "polyfill",
23 "ungap"
24 ],
25 "author": "Andrea Giammarchi",
26 "license": "ISC",
27 "devDependencies": {
28 "http-server": "^0.11.1",
29 "nightmare": "^3.0.1",
30 "uglify-js": "^2.8.29"
31 },
32 "repository": {
33 "type": "git",
34 "url": "git+https://github.com/ungap/custom-elements-builtin.git"
35 },
36 "bugs": {
37 "url": "https://github.com/ungap/custom-elements-builtin/issues"
38 },
39 "homepage": "https://github.com/ungap/custom-elements-builtin#readme"
40}