-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 4.08 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
114
115
116
117
118
119
120
121
122
123
{
"name": "heeko_assigment",
"version": "1.0.0",
"description": "Assigment",
"private": true,
"scripts": {
"dev": "npm run start:babel",
"start": "nodemon ./src/bin/server.ts",
"start:babel": "nodemon --exec babel-node --extensions \".ts\" ./src/bin/server.ts",
"lint": "npx eslint '*/**/*.{js,jsx,ts,tsx}' --quiet --fix",
"refresh:env-jwt": "node ./src/scripts/generateEnvJWT.ts",
"clean": "rm -rf ./dist",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"before-build": "yarn && npm run lint && npm run type-check && npm run clean",
"build": "npm run before-build && tsc -p .",
"build:babel": "npm run before-build && babel src --out-dir dist --extensions \".ts\",\".js\"",
"serve:staging": "NODE_ENV=staging node ./dist/bin/server.js",
"serve:production": "NODE_ENV=production node ./dist/bin/server.js",
"serve:production-docker": "NODE_ENV=production pm2-runtime ./dist/bin/server.js",
"db:migrate": "npx sequelize-cli db:migrate",
"db:migrate:fresh": "npx sequelize-cli db:migrate:undo:all && npm run db:migrate",
"db:seed": "npx sequelize-cli db:seed:all",
"db:drop": "npx sequelize-cli db:drop",
"db:reset": "npm run db:drop && npx sequelize-cli db:create && npm run db:migrate && npm run db:seed",
"test": "echo \"Error: no test specified\" && exit 1",
"release": "standard-version"
},
"jest": {
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/"
]
},
"author": "TdevM",
"license": "MIT",
"dependencies": {
"@hapi/joi": "^17.1.1",
"@types/nodemailer": "^6.4.0",
"axios": "^0.21.0",
"bcrypt": "^5.0.0",
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"date-fns": "^2.16.1",
"debug": "^4.2.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-async-handler": "^1.1.4",
"handlebars": "^4.7.6",
"helmet": "^4.2.0",
"http-errors": "^1.8.0",
"joi": "^17.3.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.20",
"mariadb": "^2.5.0",
"morgan": "^1.10.0",
"multer": "^1.4.2",
"nodemailer": "^6.4.16",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"pg": "^8.5.1",
"pg-hstore": "^2.3.3",
"pug": "^3.0.0",
"redis": "^3.0.2",
"sequelize": "^6.3.5",
"sequelize-cli": "^6.2.0",
"uuid": "^8.3.1",
"winston": "^3.3.3",
"yup": "^0.29.3"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/node": "^7.12.6",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@babel/register": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@types/bcrypt": "^3.0.0",
"@types/body-parser": "^1.19.0",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.8",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.9",
"@types/helmet": "^4.0.0",
"@types/http-errors": "^1.8.0",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.165",
"@types/morgan": "^1.9.2",
"@types/multer": "^1.4.4",
"@types/node": "^14.14.7",
"@types/passport": "^1.0.4",
"@types/passport-jwt": "^3.0.3",
"@types/passport-local": "^1.0.33",
"@types/redis": "^2.8.28",
"@types/sequelize": "^4.28.9",
"@types/yup": "^0.29.9",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"babel-plugin-module-resolver": "^4.0.0",
"eslint": "^7.13.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-import-resolver-babel-module": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.6.3",
"nodemon": "^2.0.6",
"prettier": "^2.1.2",
"standard-version": "^9.0.0",
"supertest": "^6.0.1",
"ts-node": "^9.0.0",
"typescript": "^4.0.5"
},
"engines": {
"node": ">=10.x"
}
}