UNPKG

1.53 kBJSONView Raw
1{
2 "name": "pkg-size",
3 "version": "2.4.0",
4 "description": "Measure the size of your npm package distribution",
5 "keywords": [
6 "cli",
7 "pkg-size",
8 "package",
9 "distribution",
10 "size",
11 "npm"
12 ],
13 "license": "MIT",
14 "repository": "privatenumber/pkg-size",
15 "funding": "https://github.com/privatenumber/pkg-size?sponsor=1",
16 "author": {
17 "name": "Hiroki Osame",
18 "email": "hiroki.osame@gmail.com"
19 },
20 "files": [
21 "bin/cli.js",
22 "dist"
23 ],
24 "main": "dist/pkg-size.js",
25 "bin": "bin/cli.js",
26 "scripts": {
27 "build": "rm -rf dist && tsup src --dts --minify",
28 "lint": "eslint ."
29 },
30 "husky": {
31 "hooks": {
32 "pre-commit": "lint-staged"
33 }
34 },
35 "lint-staged": {
36 "src/*.{js,ts}": "eslint"
37 },
38 "devDependencies": {
39 "@pvtnbr/eslint-config-typescript": "^0.1.19",
40 "@types/glob-to-regexp": "^0.4.1",
41 "@types/tar": "^4.0.5",
42 "brotli-size": "^4.0.0",
43 "byte-size": "^7.0.0",
44 "cac": "^6.7.3",
45 "cli-simple-table": "^1.1.0",
46 "colorette": "^1.2.2",
47 "eslint": "^7.32.0",
48 "glob-to-regexp": "^0.4.1",
49 "gzip-size": "^6.0.0",
50 "husky": "^4.3.0",
51 "lint-staged": "^11.1.1",
52 "npm-packlist": "^2.2.2",
53 "p-map": "^5.1.0",
54 "tar-fs": "^2.1.1",
55 "tsup": "^4.13.1",
56 "typescript": "^4.3.5"
57 },
58 "eslintConfig": {
59 "extends": "@pvtnbr/eslint-config-typescript",
60 "rules": {
61 "unicorn/prevent-abbreviations": [
62 "error",
63 {
64 "replacements": {
65 "pkg": false
66 }
67 }
68 ]
69 },
70 "overrides": [
71 {
72 "files": "src/cli.ts",
73 "rules": {
74 "no-console": "off"
75 }
76 }
77 ]
78 }
79}