-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
66 lines (66 loc) · 1.42 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
{
"name": "parse-bearer-token",
"version": "1.0.1",
"description": "Parse a request's bearer token",
"keywords": [
"bearer",
"token",
"authorization"
],
"author": "Stephen Mathieson <[email protected]>",
"repository": "stephenmathieson/node-parse-bearer-token",
"license": "MIT",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build",
"fmt": "prettier --write *.json *.md src/*.ts",
"lint": "tslint --project tsconfig.json --format codeFrame src/*.ts",
"test": "ava src/test.ts"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"lint-staged": {
"*.{md,json}": [
"prettier --write",
"git add"
],
"*.ts": [
"tslint --fix",
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"semi": false,
"singleQuote": true
},
"ava": {
"compileEnhancements": false,
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"devDependencies": {
"@types/node": "^12.7.5",
"ava": "^2.4.0",
"express": "^4.8.5",
"husky": "^3.0.5",
"lint-staged": "^9.2.5",
"mocha": "^1.21.4",
"prettier": "^1.14.3",
"supertest": "^0.13.0",
"ts-node": "^8.4.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.1.1"
}
}