-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
81 lines (81 loc) · 2.77 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
{
"name": "boilerplate",
"version": "1.0.0",
"main": "server.ts",
"author": "mpgxc",
"license": "",
"private": true,
"scripts": {
"commit": "cz",
"prepare": "husky install",
"dev": "prisma generate && dotenv -e .env.development -- yarn migrate:init && dotenv -e .env.development -- tsnd -r tsconfig-paths/register --transpile-only --ignore-watch node_modules --respawn src/infra/http/server.ts",
"lint": "eslint src --ext .ts --fix",
"format": "prettier --write src/**/*.ts",
"build": "rimraf build; babel src --extensions \".js,.ts\" --out-dir build --copy-files --no-copy-ignored",
"test": "dotenv -e .env.test -- yarn migrate:init && dotenv -e .env.test jest --runInBand",
"test:cov": "dotenv -e .env.test -- yarn migrate:init && dotenv -e .env.test jest --no-cache --watchAll=false --coverage",
"migrate:init": "npx prisma migrate dev --name init"
},
"dependencies": {
"@prisma/client": "^3.0.2",
"celebrate": "^15.0.0",
"dotenv": "^8.2.0",
"dotenv-cli": "^4.0.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"helmet": "^4.5.0",
"husky": "^6.0.0",
"morgan": "^1.10.0",
"pino": "^6.13.2",
"pino-pretty": "^7.0.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"tsyringe": "^4.6.0",
"uuid": "^8.3.2"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/node": "^7.14.2",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.14.2",
"@babel/preset-env": "^7.14.2",
"@babel/preset-typescript": "^7.13.0",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@types/express": "^4.17.11",
"@types/jest": "^27.0.1",
"@types/morgan": "^1.9.2",
"@types/node": "^15.0.1",
"@types/pino": "^6.3.11",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"commitizen": "^4.2.4",
"eslint": "^7.25.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import-helpers": "^1.1.0",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^27.2.0",
"jest-mock-extended": "^2.0.2-beta2",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
"prisma": "^3.0.2",
"supertest": "^6.1.6",
"ts-jest": "^27.0.5",
"ts-node-dev": "^1.1.8",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.2.4"
}
}