-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
88 lines (88 loc) · 3.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
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
88
{
"name": "fastify-prisma-typescript-boilerplate",
"description": "Starter kit for building RESTful APIs using Fastify and Prisma in a TypeScript environment for Node.js",
"version": "1.0.0",
"license": "MIT",
"type": "module",
"author": {
"name": "Steve McKeogh",
"email": "[email protected]",
"url": "https://stevemckeogh.com"
},
"keywords": [
"fastify",
"prisma",
"typescript"
],
"engines": {
"node": "^18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thekeogh/fastify-prisma-typescript-boilerplate.git"
},
"bugs": {
"url": "https://github.com/thekeogh/fastify-prisma-typescript-boilerplate/issues"
},
"homepage": "https://github.com/thekeogh/fastify-prisma-typescript-boilerplate#readme",
"scripts": {
"start": "NODE_ENV=development dotenv-flow -- node build/index.js",
"dev": "NODE_ENV=development dotenv-flow -- tsx watch --ignore ./build --ignore ./ssl --no-cache src",
"migrate": "NODE_ENV=development dotenv-flow -- npx prisma migrate deploy",
"migrate:create": "NODE_ENV=development dotenv-flow -- npx prisma migrate dev",
"migrate:reset": "NODE_ENV=development dotenv-flow -- npx prisma migrate reset",
"generate:schema": "NODE_ENV=development dotenv-flow -- tsx ./scripts/schema/index.script.ts",
"generate:prisma": "NODE_ENV=development dotenv-flow -- npx prisma generate",
"generate": "npm run generate:prisma && npm run generate:schema",
"build": "rimraf ./build && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"test": "vitest",
"test:watch": "vitest --watch",
"lint": "eslint --ext=ts src tests --no-error-on-unmatched-pattern --quiet || true",
"lint:fix": "eslint --ext=ts src tests --no-error-on-unmatched-pattern --quiet --fix || true",
"postbuild": "cpy 'src/**/schema.json' 'build/' --parents"
},
"dependencies": {
"@fastify/autoload": "^5.7.1",
"@fastify/cors": "^8.2.1",
"@fastify/helmet": "^10.1.0",
"@fastify/sensible": "^5.2.0",
"@fastify/swagger": "^8.3.1",
"@fastify/swagger-ui": "^1.8.0",
"@fastify/under-pressure": "^8.2.0",
"@prisma/client": "^4.13.0",
"fastify": "^4.17.0",
"fastify-plugin": "^4.5.0",
"pino": "^8.12.0",
"prisma": "^4.13.0"
},
"devDependencies": {
"@faker-js/faker": "^7.6.0",
"@fastify/ajv-compiler": "^3.5.0",
"@types/dotenv-flow": "^3.2.0",
"@types/glob": "^8.1.0",
"@types/node": "^18.16.3",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@vitest/coverage-c8": "^0.30.1",
"chalk": "^5.2.0",
"cpy-cli": "^4.2.0",
"dotenv-flow": "^3.2.0",
"dotenv-flow-cli": "^1.0.0",
"eslint": "^8.39.0",
"eslint-plugin-import": "^2.27.5",
"glob": "^8.1.0",
"glob-promise": "^6.0.2",
"json-schema": "^0.4.0",
"json-schema-to-typescript": "^12.0.0",
"pino-pretty": "^10.0.0",
"prettier": "^2.8.8",
"rimraf": "^5.0.0",
"sleep-promise": "^9.1.0",
"tsc-alias": "^1.8.6",
"tsx": "^3.12.7",
"typescript": "^5.0.4",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.30.1",
"vitest-mock-extended": "^1.1.3"
}
}