-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 1.96 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "@pantajoe/bytes",
"type": "module",
"version": "1.0.2",
"packageManager": "[email protected]",
"description": "A tiny utility to parse/format byte sizes from/to a human-readable format.",
"author": {
"name": "pantajoe",
"url": "https://joepantazidis.me"
},
"license": "MIT",
"repository": "pantajoe/bytes",
"keywords": [
"byte",
"human",
"format",
"humanize",
"pretty",
"size",
"bytes",
"bytesize",
"formatting",
"byte-size",
"human-readable",
"file-size",
"filesize"
],
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "vitest dev",
"prepack": "pnpm build",
"release": "pnpm test && changelogen --release && npm publish --access public && git push --follow-tags",
"test": "vitest && vitest run --coverage",
"lint": "eslint --max-warnings=0 .",
"lint:fix": "eslint --fix --max-warnings=0 .",
"typecheck": "tsc --noEmit --skipLibCheck",
"prepare": "husky"
},
"devDependencies": {
"@antfu/eslint-config": "^2.8.3",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@types/node": "^20.17.10",
"@vitest/coverage-v8": "^1.6.0",
"changelogen": "^0.5.7",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"prettier": "^3.3.3",
"typescript": "^5.7.2",
"unbuild": "^2.0.0",
"vitest": "^1.6.0"
},
"lint-staged": {
"*": "eslint --fix"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}