-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
33 lines (33 loc) · 1.05 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
{
"name": "@ungap/own-keys",
"type": "module",
"version": "0.1.0",
"description": "A basic Reflect.ownKeys polyfill",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"unpkg": "min.js",
"exports": {
"import": "./esm/index.js",
"default": "./cjs/index.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 = ownKeys;' >> ./cjs/index.js",
"esm": "cp index.js ./esm/ && echo 'export default ownKeys;' >> ./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": "nyc report --reporter=text-lcov | coveralls",
"test": "nyc node test/index.js"
},
"keywords": [
"Reflect",
"ownKeys"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"coveralls": "^3.0.11",
"nyc": "^15.0.1",
"uglify-js": "^3.9.1"
}
}