-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
74 lines (74 loc) · 2.32 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
{
"name": "phonebook-rest-api",
"version": "1.0.0",
"description": "Phonebook API",
"author": "Osama Bari <osamabari@hotmail.com>",
"main": "src/index.js",
"engines": {
"node": ">=10",
"yarn": "*"
},
"license": "MIT",
"scripts": {
"precommit": "yarn lint",
"prestart": "yarn docs",
"start": "cross-env NODE_ENV=production pm2 start ./src/index.js",
"dev": "nodemon ./src/index.js",
"lint": "eslint ./src/ --ignore-path .gitignore --ignore-pattern internals/scripts",
"lint:fix": "yarn lint --fix",
"test": "cross-env NODE_ENV=test nyc --reporter=html --reporter=text mocha --timeout 20000 --exit --recursive src/api/tests",
"validate": "yarn lint && yarn test",
"postpublish": "git push --tags",
"deploy": "sh ./deploy.sh",
"docs": "apidoc -i src -o docs",
"docker:start": "cross-env NODE_ENV=production pm2-docker start ./src/index.js",
"docker:prod": "docker-compose -f docker-compose.yml -f docker-compose.prod.yml up",
"docker:dev": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up",
"docker:test": "docker-compose -f docker-compose.yml -f docker-compose.test.yml up --abort-on-container-exit"
},
"dependencies": {
"axios": "^0.19.0",
"bcryptjs": "2.4.3",
"bluebird": "^3.7.0",
"body-parser": "^1.17.0",
"compression": "^1.6.2",
"cors": "^2.8.3",
"cross-env": "^5.2.1",
"dotenv-safe": "^6.1.0",
"express": "^4.17.1",
"express-validation": "^1.0.3",
"helmet": "^3.21.1",
"http-status": "^1.3.2",
"jest": "^24.9.0",
"joi": "^10.4.1",
"jwt-simple": "0.5.6",
"lodash": "^4.17.4",
"method-override": "^3.0.0",
"moment-timezone": "^0.5.13",
"mongoose": "^5.7.5",
"morgan": "^1.8.1",
"passport": "^0.4.0",
"passport-http-bearer": "^1.0.1",
"passport-jwt": "4.0.0",
"pm2": "^3.0.0",
"uuid": "^3.1.0",
"winston": "^3.1.0"
},
"devDependencies": {
"apidoc": "^0.17.5",
"chai": "^4.1.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.0.6",
"eslint": "^6.4.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.2.0",
"husky": "^3.0.8",
"mocha": "^6.2.1",
"nodemon": "^1.19.3",
"nyc": "^14.1.1",
"opn-cli": "^5.0.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.0.0",
"supertest": "^4.0.2"
}
}