-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.9 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
{
"name": "design-patterns-DDD-Registers",
"version": "1.3.0",
"description": "Clean Node API",
"main": "server.ts",
"repository": "[email protected]:Christiangsn/ddd-designPatterns-registers.git",
"author": "[email protected]",
"license": "MIT",
"scripts": {
"migration": "npx prisma migrate dev",
"studio": "npx prisma studio",
"build": "babel src --extensions \".js,.ts\" --out-dir dist --copy-files --no-copy-ignored",
"start": "node -r dotenv/config dist/main/server.js",
"dev": "ts-node-dev -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify -r dotenv/config src/main/server.ts",
"test": "jest --passWithNoTests --silent --noStackTrace --runInBand",
"test:verbose": "jest --passWithNoTests --runInBand",
"test:unit": "yarn test -- --watch -c jest-unit-config.js",
"test:integration": "yarn -r tsconfig-paths/register test -- --watch -c jest-integration-config.js",
"test:staged": "yarn -r tsconfig-paths/register test -- --findRelatedTests",
"test:ci": "yarn -r tsconfig-paths/register test -- --coverage",
"test:coveralls": "yarn test:ci && coveralls < coverage/lcov.info",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "yarn run test:ci"
}
},
"lint-staged": {
"*.ts": [
"eslint 'src/**' --fix",
"cross-env CI=true yarn test:staged --bail"
]
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/node": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-typescript": "^7.16.0",
"@types/bcrypt": "^5.0.0",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.2",
"@types/jsonwebtoken": "^8.5.6",
"@types/node": "^16.11.6",
"@types/validator": "^13.6.6",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"babel-plugin-module-resolver": "^4.1.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^5.0.0",
"git-commit-msg-linter": "^3.2.8",
"husky": "^7.0.0",
"jest": "^27.3.1",
"lint-staged": "^11.2.6",
"prettier": "^2.3.2",
"prisma": "^3.3.0",
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"tsconfig-paths": "^3.11.0",
"tsconfig-paths-jest": "^0.0.1",
"typescript": "^4.4.4"
},
"dependencies": {
"@prisma/client": "^3.3.0",
"@types/supertest": "^2.0.11",
"bcrypt": "^5.0.1",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1",
"supertest": "^6.1.6",
"validator": "^13.6.0"
},
"engines": {
"node": "14.x"
}
}