UNPKG

@ungap/custom-elements-builtin

Version:

A polyfill for Custom Elements builtin extends

41 lines (40 loc) 1.42 kB
{ "name": "@ungap/custom-elements-builtin", "version": "0.1.2", "description": "A polyfill for Custom Elements builtin extends", "main": "cjs/index.js", "module": "esm/index.js", "unpkg": "min.js", "scripts": { "build": "npm run cjs && npm run esm && npm run min && npm run test && npm run size", "cjs": "cp index.js cjs/", "esm": "cp index.js esm/", "min": "uglifyjs index.js --support-ie8 --comments=/^!/ -c -m -o min.js", "size": "cat index.js | wc -c && cat min.js | wc -c && gzip -c9 min.js | wc -c && cat min.js | brotli | wc -c", "test": "npm run server & (sleep 1 && npm run nightmare && npm run kill)", "nightmare": "node test/nightmare.js || (npm run kill && exit 1)", "server": "node -e 'require(`fs`).writeFileSync(`pid`,require(`child_process`).spawn(`http-server`,[`.`,`-s`]).pid);'", "kill": "kill -9 $(cat pid) && rm -f pid" }, "keywords": [ "customElements", "builtin", "polyfill", "ungap" ], "author": "Andrea Giammarchi", "license": "ISC", "devDependencies": { "http-server": "^0.11.1", "nightmare": "^3.0.1", "uglify-js": "^2.8.29" }, "repository": { "type": "git", "url": "git+https://github.com/ungap/custom-elements-builtin.git" }, "bugs": { "url": "https://github.com/ungap/custom-elements-builtin/issues" }, "homepage": "https://github.com/ungap/custom-elements-builtin#readme" }