1 | {
|
2 | "name": "filesize",
|
3 | "description": "JavaScript library to generate a human readable String describing the file size",
|
4 | "version": "8.0.6",
|
5 | "homepage": "https://filesizejs.com",
|
6 | "author": "Jason Mulligan <jason.mulligan@avoidwork.com>",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "git://github.com/avoidwork/filesize.js.git"
|
10 | },
|
11 | "bugs": {
|
12 | "url": "https://github.com/avoidwork/filesize.js/issues"
|
13 | },
|
14 | "files": [
|
15 | "lib",
|
16 | "*.d.ts"
|
17 | ],
|
18 | "license": "BSD-3-Clause",
|
19 | "browser": "lib/filesize.min.js",
|
20 | "main": "lib/filesize.js",
|
21 | "module": "lib/filesize.esm.js",
|
22 | "types": "filesize.d.ts",
|
23 | "engines": {
|
24 | "node": ">= 0.4.0"
|
25 | },
|
26 | "scripts": {
|
27 | "build": "rollup -c",
|
28 | "watch": "rollup -c -w",
|
29 | "changelog": "auto-changelog -p",
|
30 | "test": "npm run build && npm run lint && npm run test:unit && npm run test:type",
|
31 | "test:unit": "nodeunit test/filesize_test.js",
|
32 | "test:type": "tsc -p test",
|
33 | "lint": "eslint test/*.js src/*.js"
|
34 | },
|
35 | "devDependencies": {
|
36 | "@babel/core": "^7.16.0",
|
37 | "@babel/preset-env": "^7.16.0",
|
38 | "auto-changelog": "^2.3.0",
|
39 | "eslint": "^8.1.0",
|
40 | "nodeunit-x": "^0.15.0",
|
41 | "rollup": "^2.58.3",
|
42 | "rollup-plugin-babel": "^4.4.0",
|
43 | "rollup-plugin-terser": "^7.0.2",
|
44 | "typescript": "^3.9.0"
|
45 | },
|
46 | "keywords": [
|
47 | "file",
|
48 | "filesize",
|
49 | "size",
|
50 | "readable",
|
51 | "file system",
|
52 | "bytes",
|
53 | "diff"
|
54 | ]
|
55 | }
|