-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2 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
{
"name": "fastify-ts-starter",
"version": "1.0.0",
"description": "Fastify TS Starter designed for building API's",
"main": "app.ts",
"directories": {
"tests": "tests"
},
"scripts": {
"prepare": "husky install",
"preinstall": "cp .env.example .env ",
"test": "npm run build:ts && tsc -p tests/tsconfig.test.json && tap tests/**/*.test.ts --reporter=spec",
"start": "npm run build:ts && fastify start -l info dist/app.js",
"build:ts": "tsc",
"dev": "tsc && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"tsc -w\" \"fastify start -w -l info -P dist/app.js\"",
"generate:types": "./node_modules/.bin/json2ts -i src/schemas -o src/types"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CerealKiller97/Fastify-TS-Starter.git"
},
"keywords": [
"fastify",
"api",
"starter",
"typescript",
"boilerplate"
],
"author": {
"name": "Stefan Bogdanović",
"email": "[email protected]"
},
"license": "GNU General Public License v3.0",
"bugs": {
"url": "https://github.com/CerealKiller97/Fastify-TS-Starter/issues"
},
"homepage": "https://github.com/CerealKiller97/Fastify-TS-Starter#readme",
"dependencies": {
"dotenv": "^9.0.1",
"fastify": "^3.0.0",
"fastify-autoload": "^3.3.1",
"fastify-cli": "^2.9.0",
"fastify-plugin": "^3.0.0",
"fastify-sensible": "^3.1.0",
"fastify-swagger": "^4.7.0",
"nodemailer": "^6.6.0",
"redis": "^3.1.2"
},
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/node": "^14.14.14",
"@types/nodemailer": "^6.4.1",
"@types/redis": "^2.8.28",
"@types/tap": "^14.10.1",
"concurrently": "^6.0.0",
"fastify-tsconfig": "^1.0.1",
"husky": "^6.0.0",
"json-schema-to-typescript": "^10.1.4",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"tap": "^14.11.0",
"typescript": "^4.1.3"
},
"lint-staged": {
"**/*.{js,ts}": [
"yarn prettier --write"
]
}
}