-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
96 lines (96 loc) · 2.87 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
{
"name": "exceptionally",
"version": "3.0.1",
"description": "A fully type-safe and lightweight way of using exceptions instead of throwing errors",
"scripts": {
"---- DEV -----------------------------------------------------------------------------": "",
"dev": "tsup --watch",
"---- BUILD ---------------------------------------------------------------------------": "",
"build": "tsup && tsup --config tsup-legacy.config.ts",
"release": "pnpm build && npm publish",
"---- TEST ----------------------------------------------------------------------------": "",
"test": "pnpm tsc && pnpm vitest",
"vitest": "vitest run",
"vitest:watch": "vitest watch",
"tsc": "tsc --noEmit",
"tsc:watch": "tsc --noEmit --watch",
"size": "size-limit",
"---- LINT ----------------------------------------------------------------------------": "",
"lint": "pnpm format && pnpm eslint",
"lint:fix": "pnpm format:fix && pnpm eslint:fix",
"eslint:base": "eslint --cache",
"eslint": "pnpm eslint:base .",
"eslint:fix:base": "pnpm eslint:base --fix",
"eslint:fix": "pnpm eslint:fix:base .",
"format": "dprint check",
"format:fix": "dprint fmt",
"---- OTHER ---------------------------------------------------------------------------": "",
"prepare": "husky install",
"---- SHORTCUTS -----------------------------------------------------------------------": "",
"changeset": "changeset",
"lint-staged": "lint-staged"
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@size-limit/preset-small-lib": "^8.2.4",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"dprint": "^0.35.3",
"eslint": "^8.36.0",
"eslint-config-xo": "^0.43.1",
"eslint-config-xo-typescript": "^0.56.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"size-limit": "^8.2.4",
"tsup": "^6.7.0",
"typescript": "^5.0.2",
"undici": "^5.21.0",
"vite": "^4.2.1",
"vitest": "^0.29.7"
},
"peerDependencies": {
"typescript": "^5.0"
},
"type": "module",
"main": "./lib/legacy.cjs",
"module": "./lib/legacy.js",
"browser": "./lib/legacy.global.js",
"types": "./lib/legacy.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"require": "./lib/index.cjs",
"import": "./lib/index.js"
},
"./assert": {
"types": "./lib/assert/index.d.ts",
"require": "./lib/assert/index.cjs",
"import": "./lib/assert/index.js"
},
"./utils": {
"types": "./lib/utils/index.d.ts",
"require": "./lib/utils/index.cjs",
"import": "./lib/utils/index.js"
}
},
"files": [
"/lib"
],
"author": "ivanhofer",
"keywords": [
"exceptions",
"errors",
"typesafe",
"lightweight"
],
"license": "MIT",
"homepage": "https://github.com/ivanhofer/exceptionally#readme",
"repository": {
"type": "git",
"url": "https://github.com/ivanhofer/exceptionally"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/ivanhofer"
}
}