-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.6 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.2",
"description": "A package to handle results. Success, errors or partial success as results and not throw errors",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"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": [
"nothrow",
"result",
"error",
"result",
"partialSuccess"
],
"scripts": {
"test": "rm -rf dist && tsc --project tsconfig.test.json && borp --coverage",
"format:check": "prettier --check .",
"format": "prettier --write .",
"lint": "eslint ./src",
"prepare": "husky",
"build": "rm -rf dist && tsup",
"prepublish": "pnpm lint && pnpm format:check && pnpm test && pnpm build"
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@eslint/js": "^9.9.1",
"@types/node": "^22.5.0",
"borp": "^0.19.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"
}
}