-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
65 lines (65 loc) · 1.44 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": "reattempt",
"description": "Give your functions another chance",
"version": "0.1.1",
"author": "Waseem Dahman <dwaseem@icloud.com>",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"keywords": [
"try",
"try-catch",
"retry",
"attempt",
"errors",
"error-handling",
"javascript"
],
"scripts": {
"test": "jest",
"lint": "tslint --project .",
"typecheck": "tsc --noEmit",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test:coverage": "jest --coverage",
"test:all": "yarn typecheck && yarn lint && yarn test:coverage",
"build": "tsc",
"prebuild": "rm -rf dist",
"prepack": "yarn test:all && yarn build && size-limit",
"size": "yarn build --skipLibCheck && size-limit"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80
},
"files": [
"dist"
],
"jest": {
"watchPathIgnorePatterns": [
"dist"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"collectCoverageFrom": [
"lib/**/*.ts"
]
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "400 B"
}
],
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/node": "^11.13.4",
"coveralls": "^3.0.3",
"jest": "^24.7.1",
"size-limit": "^1.0.1",
"ts-jest": "^24.0.2",
"tslint": "^5.15.0",
"typescript": "^3.4.3"
}
}