-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.15 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
{
"name": "ttg-fastify",
"private": true,
"version": "0.0.1",
"description": "REST API template for Fastify",
"main": "server.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "tap test/**/*.test.js",
"test:coverage": "tap --cov test/**/*.test.js",
"start": "node server.js",
"dev": "nodemon server.js | pino-colada",
"lint": "eslint --fix ."
},
"engines": {
"node": "10.x"
},
"author": "TTG International",
"dependencies": {
"dotenv": "^6.2.0",
"fastify": "^2.0.0",
"fastify-autoload": "^0.6.0",
"fastify-cors": "^2.1.2",
"fastify-helmet": "^3.0.0",
"fastify-jwt": "^0.9.3",
"fastify-plugin": "^1.5.0"
},
"devDependencies": {
"@ttgint/eslint-config": "^1.2.1",
"eslint": "^5.14.1",
"husky": "^1.3.1",
"lint-staged": "^8.1.4",
"nodemon": "^1.18.10",
"pino-colada": "^1.4.4",
"prettier": "^1.16.4",
"tap": "^12.5.3"
},
"eslintConfig": {
"extends": "@ttgint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test"
}
},
"lint-staged": {
"*.js": [
"eslint --fix .",
"git add"
]
}
}