This repository was archived by the owner on Sep 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.61 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 1.61 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
{
"name": "@trailervote/express-logger",
"version": "2.1.1",
"description": "Logger for express apps that can be passed around via locals, arguments or live bindings and allows for noop calling.",
"main": "dist/logger.js",
"module": "dist/logger.js",
"repository": "https://github.com/TrailerVote/trailervote-express-logger",
"author": "Derk-Jan Karrenbeld <dj@trailervote.com>",
"license": "MIT",
"files": [
"README.md",
"/dist"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc",
"prebuild:test": "rimraf tests/dist",
"build:test": "tsc --project tests/tsconfig.json",
"lint": "tslint --project tsconfig.json",
"pretest": "tsc --project tests/tsconfig.json",
"test": "node -r esm node_modules/tape/bin/tape tests/dist/**/*.test.js",
"prepublish": "yarn test && yarn lint && yarn build"
},
"devDependencies": {
"@types/tape": "^4.2.33",
"esm": "^3.2.20",
"husky": "^1.2.1",
"lint-staged": "^12.4.1",
"prettier": "^1.16.4",
"rimraf": "^2.6.3",
"tape": "^4.10.1",
"tslint": "^5.14.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.3.4000"
},
"dependencies": {
"@types/express": "^4.16.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.{json,css,md}": [
"prettier --single-quote --no-semi --arrow-parens always --write",
"git add"
],
"*{src,app,__{tests,mocks}__,test,tests}/**/*.{mjs,js,jsx,ts,tsx}": [
"prettier --single-quote --no-semi --arrow-parens always --write",
"git add"
]
}
}
}