-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.39 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
{
"name": "safe-result",
"description": "Create safe results that are either successes or failures",
"keywords": [
"typescript",
"type-safety",
"error-handling",
"promise",
"UnhandledPromiseRejectionWarning",
"safe-return"
],
"version": "1.0.2",
"main": "lib/index.js",
"repository": "https://github.com/poppa/safe-result.git",
"author": "Pontus Östlund <[email protected]>",
"license": "MIT",
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/node": "^16.7.4",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"husky": "^4.3.0",
"jest": "^27.1.0",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.5",
"typedoc": "^0.21.7",
"typescript": "^4.4.2"
},
"scripts": {
"bootstrap": "yarn install --pure-lockfile",
"dev": "tsc -w",
"build": "yarn clean && tsc && yarn lint && yarn test",
"clean": "rimraf lib",
"clean:all": "rimraf lib && rimraf node_modules",
"test": "jest",
"lint": "yarn eslint src/**/*.ts --quiet",
"docgen": "yarn typedoc src/ && touch docs/.nojekyll"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && pretty-quick --staged"
}
},
"files": [
"src",
"lib"
]
}