-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.64 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
{
"name": "@trailervote/express-authorization",
"version": "1.0.1",
"description": "Authorization middleware for TrailerVote ecosystem",
"main": "dist/index.js",
"module": "dist/index.js",
"repository": "https://github.com/TrailerVote/trailervote-express-authorization",
"author": "Derk-Jan Karrenbeld <dj@trailervote.com>",
"license": "MIT",
"files": [
"README.md",
"LICENSE",
"/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": "yarn build:test",
"test": "tape -r esm tests/dist/**/*.test.js",
"prepublish": "yarn test && yarn lint && yarn build"
},
"dependencies": {
"@trailervote/express-logger": "^2.1.1",
"@trailervote/express-render": "^1.0.3",
"@types/express": "^4.17.0",
"@types/node": "^10.12.24"
},
"devDependencies": {
"@types/tape": "^4.2.33",
"esm": "^3.2.25",
"husky": "^1.3.1",
"lint-staged": "^8.2.0",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"tape": "^4.10.2",
"tslint": "^5.17.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.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"
]
}
}
}