-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.7 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
{
"name": "hapi-backend-template",
"version": "1.0.0",
"description": "Hapi backend boilerplate / project template",
"main": "src/index.js",
"scripts": {
"start": "cross-env NODE_ENV=DEVELOPMENT nodemon --exec ts-node -- src/index.ts",
"start:prod": "ts-node src/index.ts",
"test": "jest --coverage",
"test:watch": "jest --watch --coverage",
"precommit": "lint-staged"
},
"dependencies": {
"@types/hapi": "^17.0.12",
"@types/inert": "^5.1.1",
"@types/joi": "^13.3.0",
"@types/node-fetch": "^2.1.2",
"@types/vision": "^5.3.4",
"@types/winston": "^2.3.9",
"app-module-path": "^2.2.0",
"boom": "^7.2.0",
"dotenv": "^6.0.0",
"good": "^8.1.1",
"good-console": "^7.1.0",
"good-squeeze": "^5.1.0",
"hapi": "^17.5.1",
"joi": "^13.4.0",
"node-fetch": "^2.1.2",
"typescript": "^3.0.1",
"winston": "^3.0.0"
},
"devDependencies": {
"@types/jest": "^23.3.9",
"cross-env": "^5.2.0",
"hapi-swagger": "^9.1.1",
"inert": "^5.1.0",
"jest": "^23.6.0",
"jest-cli": "^23.6.0",
"jest-fetch-mock": "^1.6.5",
"nodemon": "^1.17.5",
"prettier": "^1.13.5",
"ts-jest": "^23.10.4",
"ts-node": "^6.1.1",
"vision": "^5.3.3"
},
"lint-staged": {
"src/**/*.{ts,graphql}": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"modulePaths": [
"<rootDir>"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"setupFiles": [
"./test/setupJest.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testEnvironment": "node"
}
}