Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.45 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.45 KB
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
{
"name": "@elunic/express-error-handler",
"version": "0.2.7",
"description": "A simple, minimalistic error handler middleware for Express",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
"files": [
"dist/src/"
],
"scripts": {
"test": "npm run clean && npm run compile && npx jasmine 'dist/test/**/*.spec.js'",
"test:watch": "npm run clean && npx tsc-watch --onSuccess \"npx jasmine 'dist/test/**/*.spec.js'\" --preserveWatchOutput -w --noEmitOnError false",
"check": "tslint -p . && npx prettier --config ./.prettierrc --check 'src/**/*.ts' 'test/**/*.ts'",
"clean": "gts clean",
"compile": "npm run clean && tsc -p .",
"compile:prod": "npm run clean && tsc -p tsconfig.prod.json",
"fix": "npx tslint -p . --fix && npx prettier --config ./.prettierrc --write 'src/**/*.ts' 'test/**/*.ts'",
"precommit": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.ts": [
"tslint -p . --fix",
"prettier --config ./.prettierrc --write",
"git add"
],
"test/**/*.ts": [
"tslint -p . --fix",
"prettier --config ./.prettierrc --write",
"git add"
]
},
"keywords": [],
"author": {
"name": "William Hefter",
"email": "wh@elunic.com"
},
"license": "MIT",
"dependencies": {
"common-errors": "^1.0.5",
"debug": "^3.1.0",
"http-errors": "^1.7.0",
"supports-color": "^5.5.0"
},
"devDependencies": {
"@commitlint/cli": "^7.3.2",
"@commitlint/config-conventional": "^7.3.1",
"@types/common-errors": "^1.0.1",
"@types/debug": "^4.1.1",
"@types/express": "^4.16.1",
"@types/get-port": "^4.0.1",
"@types/http-errors": "^1.6.1",
"@types/jasmine": "^3.3.7",
"@types/node": "^10.12.19",
"@types/prettier": "^1.16.1",
"@types/sinon": "^7.0.5",
"@types/supertest": "^2.0.7",
"@types/supports-color": "^5.3.0",
"express": "^4.16.3",
"get-port": "^4.1.0",
"gts": "^0.9.0",
"husky": "^1.3.1",
"jasmine": "^3.3.1",
"lint-staged": "^8.1.0",
"prettier": "^1.16.1",
"sinon": "^7.2.3",
"supertest": "^3.1.0",
"tsc-watch": "^1.1.34",
"tslint-config-prettier": "^1.17.0",
"typescript": "~3.1.0"
},
"repository": {
"type": "git",
"url": "git://github.com/elunic/node-express-error-handler.git"
},
"publishConfig": {
"access": "public"
}
}