-
-
Notifications
You must be signed in to change notification settings - Fork 150
/
package.json
100 lines (100 loc) · 2.25 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@thi.ng/errors",
"version": "2.5.17",
"description": "Custom error types and error factory functions",
"type": "module",
"module": "./index.js",
"typings": "./index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/thi-ng/umbrella.git"
},
"homepage": "https://thi.ng/errors",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/postspectacular"
},
{
"type": "patreon",
"url": "https://patreon.com/thing_umbrella"
}
],
"author": "Karsten Schmidt (https://thi.ng)",
"license": "Apache-2.0",
"scripts": {
"build": "yarn build:esbuild && yarn build:decl",
"build:decl": "tsc --declaration --emitDeclarationOnly",
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
"clean": "bun ../../tools/src/clean-package.ts",
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
"pub": "yarn npm publish --access public",
"test": "bun test",
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.47.9",
"@types/node": "^22.7.4",
"esbuild": "^0.24.0",
"typedoc": "^0.26.7",
"typescript": "^5.6.2"
},
"keywords": [
"assert",
"errors",
"typescript"
],
"publishConfig": {
"access": "public"
},
"browser": {
"process": false,
"setTimeout": false
},
"engines": {
"node": ">=18"
},
"files": [
"./*.js",
"./*.d.ts"
],
"exports": {
".": {
"default": "./index.js"
},
"./assert": {
"default": "./assert.js"
},
"./deferror": {
"default": "./deferror.js"
},
"./ensure": {
"default": "./ensure.js"
},
"./illegal-arguments": {
"default": "./illegal-arguments.js"
},
"./illegal-arity": {
"default": "./illegal-arity.js"
},
"./illegal-state": {
"default": "./illegal-state.js"
},
"./io": {
"default": "./io.js"
},
"./out-of-bounds": {
"default": "./out-of-bounds.js"
},
"./unsupported": {
"default": "./unsupported.js"
}
},
"thi.ng": {
"alias": "err",
"year": 2018
}
}