-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.36 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 3.36 KB
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
{
"name": "express-sequelize-mysql-boilerplate",
"version": "1.0.0",
"description": "Express boilerplate using Sequelize ORM and MySQL/MariaDB database",
"main": "index.js",
"scripts": {
"prestart": "npm run db:create && npm run db:migrate && npm run db:seed && npm run build",
"start": "node build/index.js",
"start:pm2": "cross-env NODE_ENV=production pm2 start --interpreter babel-node src/index.js",
"build": "npm run clean && mkdir -p public/images && babel src/ -d build/",
"clean": "rm -rf build/",
"serve": "nodemon src/index.js --watch src/ --exec babel-node",
"db:create": "node ./node_modules/.bin/sequelize-cli db:create",
"db:migrate": "node ./node_modules/.bin/sequelize-cli db:migrate",
"db:migrate:undo": "node ./node_modules/.bin/sequelize-cli db:migrate:undo",
"db:seed": "node ./node_modules/.bin/sequelize-cli db:seed:all",
"lint": "eslint --fix .",
"format": "prettier --write './**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc"
},
"author": "Guntoro Yudhy Kusuma (guntoro.gyk@gmail.com)",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.0.0",
"bluebird": "^3.7.2",
"compression": "^1.7.4",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-validation": "^3.0.5",
"express-winston": "^4.0.3",
"helmet": "^3.23.3",
"http-status": "^1.4.2",
"joi": "^17.1.1",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.19",
"method-override": "^3.0.0",
"moment": "^2.27.0",
"moment-timezone": "^0.5.31",
"multer": "^1.4.2",
"mysql2": "^2.1.0",
"oauth2-server": "^3.1.1",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"pm2": "^4.4.0",
"sequelize": "^5.21.13",
"sequelize-cli": "^6.2.0",
"snakecase-keys": "^3.2.0",
"uniqid": "^5.2.0",
"uuid": "^8.2.0",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.0"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/node": "^7.10.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-export-default-from": "^7.12.1",
"@babel/plugin-transform-async-to-generator": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/register": "^7.10.5",
"@babel/runtime": "^7.10.5",
"babel-plugin-module-resolver": "^4.0.0",
"eslint": "^7.12.1",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.15.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-module-resolver": "^1.0.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"nodemon": "^2.0.4",
"prettier": "^2.1.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./**/*.{js,jsx,ts,tsx}": [
"eslint --fix ."
]
}
}