-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
81 lines (81 loc) · 2.3 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": "node-express-rest-api",
"version": "0.0.3",
"description": "A Code4Israel template for a rest api",
"main": "src/index.ts",
"author": "Doron Feldman",
"license": "MIT",
"scripts": {
"build": "tsc",
"lint": "eslint --ignore-path .gitignore --ext .ts src/",
"lint:fix": "npm run lint -- --fix",
"start:dev": "nodemon",
"start:dev:migrate": "npm run migrations:run && npm run start:dev",
"start:dist": "node dist/src/index",
"start:dist:migrate": "npm run migrations:run && node dist/src/index",
"migrations:generate": "prisma migrate dev --name",
"migrations:run": "prisma migrate deploy"
},
"dependencies": {
"@prisma/client": "^4.3.1",
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.0.2",
"envalid": "^7.3.1",
"express": "^4.18.1",
"express-list-endpoints": "^6.0.0",
"helmet": "^6.0.0",
"http-status-codes": "^2.2.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"ts-node": "^10.9.1",
"typescript": "^4.8.3",
"winston": "^3.8.2"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/cors": "^2.8.12",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.13",
"@types/express-list-endpoints": "^6.0.0",
"@types/helmet": "^4.0.0",
"@types/jsonwebtoken": "^8.5.9",
"@types/lodash": "^4.14.184",
"@types/node": "^18.7.16",
"@types/winston": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"nodemon": "^2.0.19",
"prettier": "^2.7.1",
"prisma": "^4.3.1"
},
"prettier": {
"printWidth": 150,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "all",
"semi": false,
"arrowParens": "avoid"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-non-null-assertion": "off"
}
}
}