-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.38 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
{
"name": "havyt",
"version": "1.0.0",
"description": "Learn Fastify by building a recipe app",
"main": "index.js",
"scripts": {
"dev": "ts-node-dev -r dotenv/config --log-error --files ./src/server.ts",
"build": "tsc -p tsconfig.json",
"start": "NODE_ENV=production node dist/server.js",
"type:check": "tsc --project tsconfig.json --pretty --noEmit",
"lint": "prettier --c src/** && eslint src/** --quiet",
"format": "prettier --write ./src",
"lint:fix": "eslint src/** --fix",
"test": "tap --ts --reporter=list",
"test:watch": "tap --ts --reporter=list --watch",
"postbuild": "copyfiles -u 1 src/**/*.{html,pug} dist/"
},
"repository": "https://github.com/one-aalam/havyt",
"author": "Aftab Alam",
"license": "MIT",
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/busboy": "^0.2.4",
"@types/fastify-cors": "^2.1.0",
"@types/http-errors": "^1.8.1",
"@types/node": "^16.3.1",
"@types/pino-pretty": "^4.7.1",
"@types/pug": "^2.0.5",
"@types/tap": "^15.0.5",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"copyfiles": "^2.4.1",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.1",
"json-schema-to-ts": "^1.6.4",
"lint-staged": "^11.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"reflect-metadata": "^0.1.13",
"tap": "^15.0.9",
"ts-node-dev": "^1.1.8",
"typedi": "^0.10.0",
"typescript": "^4.3.5"
},
"dependencies": {
"@gquittet/graceful-server": "^2.5.1",
"bcrypt": "^5.0.1",
"dotenv": "^10.0.0",
"fast-jwt": "^1.2.0",
"fastify": "^3.19.0",
"fastify-compress": "^3.6.0",
"fastify-env": "^2.1.1",
"fastify-favicon": "^3.1.0",
"fastify-formbody": "^5.0.0",
"fastify-multipart": "^4.0.7",
"fastify-plugin": "^3.0.0",
"fastify-static": "^4.2.2",
"fastify-swagger": "^4.8.3",
"http-errors": "^1.8.0",
"nanoid": "^3.1.23",
"pino-pretty": "^5.1.1",
"point-of-view": "^4.15.1",
"pug": "^3.0.2",
"stormdb": "^0.5.1",
"under-pressure": "^5.7.0"
},
"husky": {
"hooks": {
"pre-commit": "CI=1 npm-run-all --parallel type:check && lint-staged"
}
},
"lint-staged": {
"*.+(js|ts)": [
"yarn run lint"
],
"*.+(js|json|ts)": [
"yarn run format"
]
}
}