This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
57 lines (57 loc) · 1.81 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
{
"name": "express-babel-boilerplate",
"version": "1.0.0",
"description": "Boilerplate express application that supports babel module resolver and production pm2 out of the box",
"main": "dist/index.js",
"repository": "https://github.com/mahboubii/express-babel-boilerplate",
"author": "Amin Mahboui<AminMahboobi@gmail.com>",
"license": "MIT",
"scripts": {
"preinstall": "yarn global add pm2",
"build": "rm -rf dist && babel src --out-dir dist",
"start": "pm2-runtime start ecosystem.prod.config.js",
"dev": "pm2 start ecosystem.dev.config.js && pm2 log",
"prettier": "prettier --config ./.prettierrc --write \"**/*.js\"",
"lint": "prettier --check --config ./.prettierrc \"**/*.js\" && eslint ./src --max-warnings 0",
"lint-fix": "yarn prettier && eslint --fix ./src"
},
"dependencies": {
"body-parser": "^1.19.0",
"boom": "^7.3.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-sslify": "^1.2.0",
"helmet": "^3.21.2",
"method-override": "^3.0.0",
"pm2": "^4.2.3"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/node": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/register": "^7.8.3",
"babel-eslint": "^10.0.3",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-transform-optional-chaining": "^7.0.0-beta.3",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.10.0",
"eslint-import-resolver-babel-module": "^5.1.2",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.1",
"lint-staged": "^10.0.4",
"prettier": "^1.19.1"
},
"engines": {
"node": "13"
},
"husky": {
"hooks": {
"pre-commit": "yarn run lint"
}
}
}