-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
70 lines (70 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
70
{
"name": "typescript-express-prisma-starter",
"version": "0.0.1",
"description": "Minyma starter template for a Typescript, Express application with development tools preconfigured",
"main": "src/main.ts",
"scripts": {
"build": "tsc",
"test": "cross-env NODE_ENV=test jest -i test/**/*.spec.ts",
"coverage": "cross-env NODE_ENV=test jest test/**/*.spec.ts --coverage",
"lint": "eslint . --ext .ts --quiet && prettier --check .",
"lint:fix": "eslint . --ext .ts --fix --quiet && prettier --write .",
"dev": "cross-env NODE_ENV=dev tsx watch src/main.ts",
"prod": "npm run build && cross-env NODE_ENV=prod node dist/src/main.js"
},
"author": "godraadam",
"license": "ISC",
"dependencies": {
"@prisma/client": "^4.6.1",
"bcrypt": "^5.1.0",
"config": "^3.3.8",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"jsonwebtoken": "^8.5.1",
"zod": "^3.19.1"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/config": "^3.3.0",
"@types/express": "^4.17.14",
"@types/jest": "^29.2.3",
"@types/jsonwebtoken": "^8.5.9",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"cross-env": "^7.0.3",
"eslint": "^8.28.0",
"jest": "^29.3.1",
"jest-mock-extended": "^3.0.1",
"prettier": "^2.8.0",
"prisma": "^4.6.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tsx": "^3.12.1",
"typescript": "^4.9.3"
},
"packageManager": "^[email protected]",
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"node_modules/",
"dist/"
]
},
"jest": {
"preset": "ts-jest/presets/default",
"clearMocks": true,
"setupFilesAfterEnv": [
"./test/mocks/prisma.mock.ts"
]
}
}