@ungap/event-target
v0.1.0 EventTarget polyfill ungap
build
npm run cjs && npm run esm && npm run min && npm run test && npm run size
cjs
cp index.js cjs/ && echo 'module.exports = self.EventTarget;' >> cjs/index.js
esm
cp index.js esm/ && echo 'export default self.EventTarget;' >> esm/index.js
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
coveralls
cat ./coverage/lcov.info | coveralls
test
istanbul cover test/index.js
npm i @ungap/[email protected]
Metadata
- ISC
- Whatever
- Andrea Giammarchi
- released 12/5/2018