-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
97 lines (97 loc) · 2.14 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
97
{
"name": "popsicle-status",
"version": "3.0.0",
"description": "Popsicle middleware for rejecting responses with bad HTTP statuses",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"prettier": "prettier --write",
"lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
"format": "npm run prettier -- README.md \"src/**/*.{js,ts}\"",
"build": "rimraf dist && tsc",
"specs": "jest --coverage",
"test": "npm run -s lint && npm run -s build && npm run -s specs && npm run -s size",
"prepare": "npm run build",
"size": "size-limit"
},
"repository": {
"type": "git",
"url": "git://github.com/serviejs/popsicle-status.git"
},
"keywords": [
"popsicle",
"plugin",
"status",
"http",
"response"
],
"author": {
"name": "Blake Embrey",
"email": "[email protected]",
"url": "http://blakeembrey.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/serviejs/popsicle-status/issues"
},
"homepage": "https://github.com/serviejs/popsicle-status",
"size-limit": [
{
"path": "./dist/index.js",
"limit": "200 B"
}
],
"jest": {
"roots": [
"<rootDir>/src/"
],
"transform": {
"\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"npm run prettier",
"git add"
]
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"servie": "^4.0.0"
},
"devDependencies": {
"@types/jest": "^24.0.13",
"husky": "^2.4.0",
"jest": "^24.8.0",
"lint-staged": "^8.2.0",
"prettier": "^1.18.2",
"servie": "^4.0.6",
"size-limit": "^1.3.6",
"standard": "^10.0.2",
"throwback": "^4.0.0",
"ts-jest": "^24.0.2",
"tslint": "^5.17.0",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.5.1"
}
}