-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
executable file
·114 lines (114 loc) · 3.79 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
{
"name": "caret-bn-backend",
"version": "1.0.0",
"description": "A platform to make company global travel and accommodation easy and convenient for the strong workforce of savvy members of staff, by leveraging the modern web.",
"main": "index.js",
"scripts": {
"dev": "NODE_ENV=development babel-watch src/index.js",
"production": "npm run db:migrate && NODE_ENV=production babel src --out-dir build --copy-files && node build/index.js",
"lint": "eslint . --ext .js",
"db:refresh": "NODE_ENV=production sequelize db:migrate:undo:all && sequelize db:migrate && sequelize db:seed:all",
"db:seed": "NODE_ENV=production sequelize db:seed:all",
"db:migrate": "NODE_ENV=production sequelize db:migrate",
"migrate": "NODE_ENV=test sequelize db:migrate",
"rollback": "NODE_ENV=test sequelize db:migrate:undo:all",
"seed": "NODE_ENV=test sequelize db:seed:all",
"test": "npm run rollback && npm run migrate && npm run seed && npm run test-suite",
"test-suite": "NODE_ENV=test nyc --reporter=html --reporter=text mocha src/tests/index.spec.js --require @babel/register --timeout 20000 --exit",
"coveralls": "nyc report --reporter=text-lcov| coveralls",
"localbuild": "babel src --out-dir lib --copy-files --source-maps --watch"
},
"nyc": {
"exclude": [
"**/**/**/tests",
"**/**/**/index.js",
"**/**/**/swagger-doc.js",
"**/**/**/**/passport",
"**/**/**/**/config"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm test",
"pre-push": "npm run lint && npm test"
}
},
"author": "Andela Simulations Programme",
"license": "MIT",
"dependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/node": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.4.5",
"@babel/register": "^7.4.4",
"@babel/runtime": "^7.6.2",
"@hapi/joi": "^16.1.7",
"@hapi/joi-date": "^2.0.1",
"@sendgrid/mail": "^6.4.0",
"babel-eslint": "^10.0.3",
"babel-watch": "^7.0.0",
"bcrypt": "^3.0.6",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"cloudinary": "^1.15.0",
"connect-multiparty": "^2.2.0",
"cors": "^2.8.5",
"coveralls": "^3.0.6",
"dotenv": "^6.0.0",
"ejs": "^2.6.1",
"errorhandler": "^1.5.0",
"express": "^4.16.3",
"express-fileupload": "^1.1.6",
"express-jwt": "^5.3.1",
"express-session": "^1.15.6",
"jsonwebtoken": "^8.5.1",
"method-override": "^2.3.10",
"methods": "^1.1.2",
"mocha": "^6.2.1",
"moment": "^2.24.0",
"mongoose": "^5.2.2",
"mongoose-unique-validator": "^2.0.1",
"morgan": "^1.9.1",
"nconf": "^0.10.0",
"nodemailer": "^6.3.1",
"nyc": "^14.1.1",
"p-iteration": "^1.1.8",
"passport": "^0.4.0",
"passport-facebook": "^3.0.0",
"passport-facebook-token": "^3.3.0",
"passport-google-oauth": "^2.0.0",
"passport-google-oauth20": "^2.0.0",
"passport-google-plus-token": "^2.1.0",
"passport-local": "^1.0.0",
"path": "^0.12.7",
"pg": "^7.12.1",
"pg-hstore": "^2.3.3",
"regenerator-runtime": "^0.13.3",
"request": "^2.87.0",
"sequelize": "^5.21.1",
"sequelize-cli": "^5.5.1",
"slugify": "^1.3.5",
"socket.io": "^2.3.0",
"socket.io-client": "^2.3.0",
"swagger-jsdoc": "^3.4.0",
"swagger-ui-express": "^4.1.1",
"underscore": "^1.9.1"
},
"devDependencies": {
"eslint": "^6.5.1",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"husky": "^3.0.7",
"jsdom": "15.1.1",
"jsdom-global": "3.0.2",
"passport-mock-strategy": "^2.0.0",
"zombie": "^6.1.4"
},
"engines": {
"node": "10.15.3"
}
}