-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
38 lines (38 loc) · 1.23 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
{
"name": "@ungap/custom-event",
"version": "0.2.0",
"description": "A CustomEvent polyfill for legacy browsers.",
"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/ && echo 'module.exports = self.CustomEvent;' >> cjs/index.js",
"esm": "cp index.js esm/ && echo 'export default self.CustomEvent;' >> 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"
},
"keywords": [
"CustomEvent",
"polyfill",
"legacy",
"ungap"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"coveralls": "^3.0.3",
"istanbul": "^0.4.5",
"uglify-js": "^3.4.9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ungap/custom-event.git"
},
"bugs": {
"url": "https://github.com/ungap/custom-event/issues"
},
"homepage": "https://github.com/ungap/custom-event#readme"
}