-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
87 lines (87 loc) · 1.82 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
{
"scripts": {
"build": "rimraf built && tsc",
"watch": "tsc --watch",
"lint": "tslint -p ./tsconfig.json",
"test": "jest",
"prettier": "prettier --config ./.prettierrc --write \"{src,test,bin,lib,config}/**/*.{ts,json,css,html,md}\""
},
"devDependencies": {
"@now/node": "^0.12.6",
"@types/bcryptjs": "^2.4.2",
"@types/hapi__joi": "^15.0.3",
"@types/jest": "^24.0.17",
"@types/jsonwebtoken": "^8.3.3",
"@types/uuid": "^3.4.5",
"husky": "^3.0.3",
"jest": "^24.9.0",
"lint-staged": "^9.2.1",
"prettier": "1.18.2",
"rimraf": "^3.0.0",
"ts-jest": "^24.0.2",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.7.2"
},
"dependencies": {
"@hapi/joi": "^15.1.1",
"bcryptjs": "^2.4.3",
"faunadb": "^2.7.0",
"jsonwebtoken": "^8.5.1",
"uuid": "^3.3.2"
},
"engines": {
"node": "14.x"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"roots": [
"<rootDir>/api/"
],
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"testMatch": [
"**/__tests__/**/*.ts"
]
},
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint --fix",
"git add"
],
"*.{json,md,html,css}": [
"prettier --write",
"git add"
]
},
"name": "jwt-example",
"description": "A example of user creation, login and jwt usage for protected routes.",
"version": "1.0.0",
"main": "index.js",
"keywords": [
"jwt",
"authentication",
"authorization",
"zeit",
"serverless",
"lambda"
],
"author": "Mudit Ameta <[email protected]>",
"license": "MIT"
}