/
package.json
55 lines (55 loc) · 1.34 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "byte-size",
"author": "Lloyd Brookes <75pound@gmail.com>",
"contributors": [
{
"name": "Raul Perez",
"email": "repejota@gmail.com",
"url": "http://repejota.com"
}
],
"version": "7.0.1",
"main": "dist/index.js",
"license": "MIT",
"engines": {
"node": ">=10"
},
"description": "Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.",
"repository": "https://github.com/75lb/byte-size",
"files": [
"index.mjs",
"dist/index.js"
],
"keywords": [
"convert",
"bytes",
"octet",
"size",
"human",
"readable",
"metric",
"IEC"
],
"scripts": {
"test": "npm run dist && npm run test:esm && npm run test:web",
"test:esm": "esm-runner test.mjs",
"test:web": "web-runner test.mjs",
"docs": "jsdoc2md -t README.hbs dist/index.js > README.md",
"cover": "c8 npm test && c8 report --reporter=text-lcov | coveralls",
"dist": "rollup -f umd -n byteSize -o dist/index.js index.mjs"
},
"devDependencies": {
"@test-runner/web": "^0.3.5",
"coveralls": "^3.1.0",
"esm-runner": "^0.3.4",
"isomorphic-assert": "^0.1.1",
"jsdoc-to-markdown": "^7.0.0",
"rollup": "^2.40.0",
"test-object-model": "^0.6.1"
},
"standard": {
"ignore": [
"dist"
]
}
}