-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
113 lines (113 loc) · 3.28 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "erc-api",
"version": "0.0.1",
"description": "ERC API",
"dependencies": {
"@sendgrid/mail": "^7.7.0",
"@types/bcryptjs": "^2.4.2",
"@types/es6-promise": "^3.3.0",
"aws-sdk": "^2.1296.0",
"axios": "^1.3.3",
"bad-words": "^3.0.4",
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.3",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"cross-var": "^1.1.0",
"crypto": "^1.0.1",
"dayjs": "^1.11.7",
"dotenv": "^7.0.0",
"express": "^4.16.4",
"express-session": "^1.15.6",
"form-data": "^4.0.0",
"fs": "0.0.1-security",
"http": "0.0.0",
"i18n": "^0.13.3",
"jsonwebtoken": "^8.5.1",
"knex": "^2.4.0",
"lodash": "^4.17.11",
"mime-types": "^2.1.35",
"multer": "^1.4.5-lts.1",
"node-cron": "^3.0.2",
"objection": "^3.0.1",
"pg": "^8.8.0",
"reflect-metadata": "^0.1.13",
"request": "^2.88.0",
"socket.io": "^4.5.4",
"source-map-support": "^0.5.20",
"swagger-jsdoc": "^6.2.7",
"swagger-ui-express": "^4.6.0",
"underscore": "^1.13.6",
"uuid": "^9.0.0"
},
"scripts": {
"production": "npm run build:production && node ./build/server.js",
"start": "node -r ts-node/register ./src/server.ts",
"dev": "nodemon -x ts-node --project tsconfig.json src/server.ts",
"build": "tsc",
"build:production": "tsc && cp .env.sample.prod .env",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix --max-warnings=0",
"prettier": "prettier \"**/*.+(js|ts|css|sass|less|graphql|scss|json)\"",
"format": "npm run prettier -- --write",
"validate": "npm run prettier -- --list-different && npm run lint",
"seed": "knex seed:run --specific=1_0_seed_roles.ts && knex seed:run --specific=1_1_seed_users.ts && knex seed:run --specific=1_2_seed_categories.ts && knex seed:run --specific=1_3_seed_sub_categories.ts && knex seed:run --specific=2_0_seed_application_status.ts"
},
"nodemonConfig": {
"execMap": {
"ts": "ts-node"
},
"ignore": [
"**/*.test.ts",
"**/*.spec.ts",
".git",
"node_modules",
"swaggerDocs"
],
"watch": [
"src"
],
"exec": "npm start",
"ext": "ts,js,json,yaml,yml"
},
"devDependencies": {
"@types/bad-words": "^3.0.1",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.12",
"@types/dotenv": "^8.2.0",
"@types/i18n": "^0.13.1",
"@types/jsonwebtoken": "^8.5.4",
"@types/lodash": "^4.14.191",
"@types/mime-types": "^2.1.1",
"@types/multer": "^1.4.7",
"@types/node": "^16.4.3",
"@types/node-cron": "^3.0.7",
"@types/pg": "^8.6.6",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"@types/underscore": "^1.11.4",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.13.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"lint-staged": "^10.4.2",
"nodemon": "^1.18.10",
"prettier": "^2.3.2",
"ts-node": "3.3.0",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"ignore": [
"node_modules",
"build"
]
}
}
}