-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 1.88 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
{
"name": "express-api-starter",
"version": "0.0.1",
"description": "An Express API starter with some sample middleware and routes that you can deploy to AWS or Heroku",
"repository": {
"type": "git",
"url": "https://github.com/karlpawlowicz/express-api-starter.git"
},
"author": "Karl Pawlowicz <karlpawlowicz@gmail.com> (https://karl.dev/)",
"license": "ISC",
"private": true,
"homepage": "https://github.com/karlpawlowicz/express-api-starter#readme",
"bugs": {
"url": "https://github.com/karlpawlowicz/express-api-starter/issues"
},
"scripts": {
"format": "prettier --write \"**/*.{css,js,json,jsx,md,scss,ts,tsx}\"",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"logs": "pm2 logs my-app",
"serve": "pm2 start ecosystem.config.js --env production",
"serve:heroku": "node src/server.js",
"start": "pm2 start ecosystem.config.js",
"stop": "pm2 delete ecosystem.config.js",
"test": "NODE_ENV=test jest",
"test:ci": "NODE_ENV=ci jest",
"test:watch": "NODE_ENV=test jest --watchAll"
},
"dependencies": {
"axios": "^0.21.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"helmet": "^4.4.1",
"jsonwebtoken": "^8.5.1",
"morgan": "^1.10.0",
"validator": "^13.5.2"
},
"devDependencies": {
"eslint": "^7.23.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"node-mocks-http": "^1.10.1",
"pm2": "^4.5.6",
"prettier": "^2.2.1",
"supertest": "^6.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint ."
],
"*.{css,js,json,jsx,md,scss,ts,tsx}": [
"prettier --write"
]
}
}