-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.56 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
{
"name": "@dancastillo/nothrow",
"version": "0.0.1",
"description": "A package to handle errors as a result",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"homepage": "https://github.com/dancastillo/nothrow",
"bugs": {
"url": "https://github.com/dancastillo/nothrow/issues"
},
"author": "Dan Castillo",
"repository": {
"type": "git",
"url": "https://github.com/dancastillo/nothrow"
},
"license": "MIT",
"files": [
"dist"
],
"keywords": [
"error",
"nothrow",
"result",
"throw"
],
"scripts": {
"test": "tsc --project tsconfig.test.json && borp --coverage",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"lint": "eslint ./src",
"prepare": "husky",
"build": "tsup",
"check-exports": "attw --pack .",
"prepublish": "pnpm build && pnpm check-exports && pnpm lint && pnpm format && pnpm test"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@changesets/cli": "^2.27.7",
"@eslint/js": "^9.9.1",
"@types/node": "^22.5.0",
"borp": "^0.18.0",
"c8": "^10.1.2",
"eslint": "^9.9.0",
"globals": "^15.9.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"typescript-eslint": "^8.3.0"
},
"engines": {
"node": ">=22.6.0"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}