-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
121 lines (121 loc) · 2.82 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
{
"name": "express-api-starter-kit",
"version": "0.0.1",
"description": "Express, CORS API Starter Kit",
"repository": "https://github.com/caxy/express-api-starter-kit",
"author": "David Wnek <[email protected]>",
"main": "dist/index.js",
"engines": {
"node": ">=12.0.0",
"npm": ">=6.4.0"
},
"scripts": {
"prestart": "npm run -s build",
"start": "node dist/index.js",
"dev": "nodemon src/index.js --exec \"node -r dotenv/config -r babel-register\"",
"clean": "rimraf dist",
"build": "npm run clean && mkdir -p dist && babel src -s -D -d dist",
"test": "jest --watch",
"lint": "esw -w src test",
"server-start": "pm2 start ecosystem.config.js --env production",
"server-reload": "pm2 reload ecosystem.config.js --update-env",
"yarn-install": "yarn install",
"deploy": "npm-run-all yarn-install build server-reload",
"prettify": "./node_modules/.bin/prettier --single-quote --write 'src/**/*.{js,jsx}'"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,json,css}": [
"prettier --single-quote --write",
"git add"
]
},
"keywords": [
"express",
"babel",
"boilerplate",
"scaffold",
"es6",
"es2015",
"es2016",
"es2017",
"jest",
"eslint"
],
"dependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"body-parser": "^1.18.2",
"cors": "^2.8.5",
"debug": "^4.1.1",
"express": "^4.16.4",
"husky": "^2.7.0",
"lint-staged": "^8.2.1",
"morgan": "^1.9.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"pug": "^2.0.3",
"rimraf": "^2.6.3"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-register": "^6.26.0",
"dotenv": "^7.0.0",
"eslint": "^5.15.2",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.4.1",
"eslint-watch": "^5.0.1",
"jest": "^24.5.0",
"nodemon": "^1.18.10",
"supertest": "^4.0.2"
},
"babel": {
"presets": [
[
"env",
{
"targets": {
"node": "current"
}
}
]
],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"plugins": [
"import",
"jest"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"node": true,
"jest": true
},
"extends": [
"eslint:recommended"
],
"rules": {
"jest/no-focused-tests": 2,
"jest/no-identical-title": 2
}
},
"jest": {
"testEnvironment": "node"
},
"private": true
}