-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
69 lines (69 loc) · 2.12 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": "express-prisma-starter",
"version": "1.0.0",
"description": "Express JS with Prisma starter",
"main": "dist/index.js",
"author": "IyanSR",
"license": "MIT",
"private": false,
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon",
"lint": "eslint --ignore-path .eslintignore \"src/**/*.ts\" --fix",
"lint:check": "eslint --ignore-path .eslintignore \"src/**/*.ts\"",
"prepare": "husky install",
"build": "swc src -d dist --source-maps --copy-files",
"start": "npm run build && cross-env NODE_ENV=production node dist/app.js",
"db:push": "prisma db push",
"postinstall": "prisma generate",
"generate:secret": "ts-node --transpile-only -O '{\"module\": \"commonjs\"}' ./src/scripts/generate-rsa.ts"
},
"dependencies": {
"@prisma/client": "^4.14.1",
"@types/lodash": "^4.14.194",
"argon2": "^0.30.3",
"body-parser": "^1.20.2",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-rate-limit": "^6.7.0",
"helmet": "^7.0.0",
"http-errors": "^2.0.0",
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"remove": "^0.1.5",
"zod": "^3.21.4"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.60",
"@types/body-parser": "^1.19.2",
"@types/express": "^4.17.17",
"@types/http-errors": "^2.0.1",
"@types/jsonwebtoken": "^9.0.2",
"@types/morgan": "^1.9.4",
"@types/node": "^18.16.3",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"cross-env": "^7.0.3",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"prettier-eslint": "^15.0.1",
"prisma": "^4.13.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"lint-staged": {
"*.{js,ts}": [
"prettier-eslint --write"
]
}
}