-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.51 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
56
57
58
59
60
61
62
{
"name": "build-sizes",
"version": "3.2.2",
"description": "A small script that provides build sizes to assist with optimization",
"homepage": "https://benelan.github.io/build-sizes",
"keywords": [
"metrics",
"size",
"build",
"performance",
"bundle",
"optimization",
"automation"
],
"author": {
"name": "Ben Elan",
"url": "https://benelan.dev"
},
"type": "module",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"bin": {
"build-sizes": "./dist/cli.js"
},
"files": [
"./dist"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:cjs": "esbuild ./src/index.js --outfile=./dist/index.cjs --bundle --format=cjs --minify --platform=node",
"build:esm": "esbuild ./src/index.js ./src/cli.js --outdir=./dist --bundle --format=esm --minify --platform=node",
"docs": "jsdoc src/index.js -r README.md -d docs",
"format": "prettier --write .",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "echo \"no tests specified\""
},
"devDependencies": {
"esbuild": "^0.20.2",
"eslint": "^9.1.1",
"jsdoc": "^4.0.2",
"prettier": "^3.2.5"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/benelan/build-sizes.git"
},
"bugs": {
"url": "https://github.com/benelan/build-sizes/issues"
},
"engines": {
"node": ">=12"
},
"engineStrict": true,
"volta": {
"node": "20.12.2"
}
}