-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.74 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
87
88
89
90
91
92
93
94
{
"name": "node-express-auth",
"version": "1.0.0",
"description": "RESTful Auth API",
"scripts": {
"build": "tsc",
"lint": "eslint . --ext .ts",
"start:dev": "nodemon -r tsconfig-paths/register src/index.ts",
"start:prod": "tsc && node -r module-alias/register dist/index.js --env=production"
},
"author": "Omer Gamliel",
"license": "ISC",
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"max-len": [
"error",
{
"code": 100
}
],
"no-console": 1,
"no-extra-boolean-cast": 0,
"@typescript-eslint/restrict-plus-operands": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/no-unsafe-member-access": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/prefer-regexp-exec": 1,
"@typescript-eslint/restrict-template-expressions": 1,
"@typescript-eslint/no-misused-promises": 1
}
},
"_moduleAliases": {
"@entities": "dist/orm",
"@shared": "dist/shared",
"@routes": "dist/api/v1/routes",
"@middlewares": "dist/middlewares",
"@dto": "dist/api/v1/dto",
"@controllers": "dist/api/v1/controllers",
"@database": "dist/database/connect",
"@migration": "dist/migration",
"@server": "dist/server"
},
"dependencies": {
"bcrypt": "^5.0.1",
"class-sanitizer": "^1.0.1",
"class-transformer": "^0.4.0",
"class-validator": "^0.13.1",
"command-line-args": "^5.1.1",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-rate-limit": "^5.2.6",
"helmet": "^4.4.1",
"http-status-codes": "^2.1.4",
"jet-logger": "^1.0.4",
"jsonwebtoken": "^8.5.1",
"module-alias": "^2.2.2",
"pg": "^8.5.1",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.31"
},
"devDependencies": {
"@types/bcrypt": "^3.0.1",
"@types/command-line-args": "^5.0.0",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.11",
"@types/express-rate-limit": "^5.1.1",
"@types/jsonwebtoken": "^8.5.1",
"@types/morgan": "^1.9.2",
"@types/node": "^14.14.31",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"eslint": "^7.22.0",
"morgan": "^1.10.0",
"nodemon": "^2.0.7",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.2.3"
}
}