-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.85 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.85 KB
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
84
85
86
87
88
89
{
"name": "@kabeep/exception",
"version": "1.3.1",
"type": "module",
"description": "A Node.js Custom Error Library that print error stack without clutter.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
}
},
"files": [
"dist"
],
"scripts": {
"prepare": "husky install",
"dev": "cross-env NODE_NO_WARNINGS=1 node --loader ts-node/esm example/default.ts",
"lint": "biome check src --write",
"lint:staged": "biome check src --write --staged",
"lint:changed": "biome check src --write --changed",
"lint-staged": "lint-staged",
"pretest": "npm run lint",
"test": "vitest run",
"test:changed": "vitest run --changed",
"test:ui": "vitest --ui",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"build": "tsup && size-limit dist/index.js && cloc src",
"build:watch": "tsup --watch",
"build:docs": "npm run build && typedoc"
},
"dependencies": {
"@kabeep/palette": "^1.0.1",
"chalk-pipe": "^6.0.0",
"get-east-asian-width": "^1.3.0"
},
"devDependencies": {
"@biomejs/biome": "^2.2.6",
"@swc/core": "^1.5.0",
"@types/chalk-pipe": "^2.0.4",
"@types/node": "^20.12.7",
"@vitest/coverage-istanbul": "^3.2.4",
"@vitest/ui": "3.2.4",
"cloc": "^2.6.0-cloc",
"cross-env": "^10.1.0",
"husky": "^9.0.11",
"lint-staged": "^16.2.4",
"size-limit": "^11.2.0",
"size-limit-preset-node-lib": "^0.4.0",
"ts-node": "^10.9.2",
"tsup": "^8.5.0",
"typedoc": "~0.26.11",
"typedoc-material-theme": "^1.2.0",
"typedoc-plugin-include-example": "^2.0.2",
"typedoc-plugin-inline-sources": "~1.1.0",
"typedoc-plugin-mdn-links": "^4.0.9",
"typedoc-plugin-missing-exports": "^3.1.0",
"typedoc-plugin-rename-documents": "^1.0.0",
"typedoc-plugin-replace-text": "^4.0.0",
"typedoc-plugin-version-header": "^1.0.0",
"typescript": "^5.4.5",
"vitest": "^3.2.4"
},
"author": "Zhang Zixin (kabeep)",
"homepage": "https://kabeep.github.io/exception",
"repository": "git@github.com:kabeep/exception.git",
"bugs": "https://github.com/kabeep/exception/issue",
"keywords": [
"nodejs",
"error",
"pretty error",
"beauty error",
"custom error",
"unexpected",
"exception",
"expectation"
],
"engines": {
"node": ">=14"
},
"license": "MIT"
}