-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
111 lines (111 loc) · 3.36 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
{
"name": "niyon-backend",
"version": "1.0.0",
"description": "Backend for Niyon application",
"main": "index.js",
"scripts": {
"test": "cross-env NODE_ENV=test jest --coverage --forceExit",
"testcircleci": "cross-env NODE_ENV=test jest --coverage",
"start": "node index.js",
"start:dev": "nodemon index.js",
"lint": "./node_modules/.bin/eslint . --fix",
"test:watch": "jest --watch",
"generator": "./node_modules/.bin/sequelize model:generate --name Chats --attributes username:string",
"migration": "./node_modules/.bin/sequelize db:migrate",
"create:seeds": "./node_modules/.bin/sequelize seed:generate --name demo-mentors",
"dropMigration": "./node_modules/.bin/sequelize db:migrate:undo:all",
"undo:seed": "./node_modules/.bin/sequelize db:seed:undo:all",
"seed": "./node_modules/.bin/sequelize db:seed:all",
"pretest": "cross-env NODE_ENV=test npm run dropMigration && npm run migration && npm run undo:seed && npm run seed",
"coverall": "npm test && cat ./coverage/lcov.info | coveralls",
"coveralls": "nyc npm run testcircleci --coverageReporters=text-lcov | coveralls",
"test-ci": "nyc npm run testcircleci --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"jest": {
"collectCoverageFrom": [
"api/**/*.js",
"!<rootDir>/node_modules/",
"!<rootDir>/api/middleware/authStrategies.js",
"!<rootDir>/api/middleware/cloudinaryImage.js",
"!<rootDir>/api/helpers/mail.js",
"!<rootDir>/_test_"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/labseu2-niyon/backend.git"
},
"keywords": [
"Niyon",
"Api",
"Backend",
"CI",
"Express"
],
"author": "Niyon",
"license": "MIT",
"bugs": {
"url": "https://github.com/labseu2-niyon/backend/issues"
},
"homepage": "https://github.com/labseu2-niyon/backend#readme",
"devDependencies": {
"coveralls": "^3.0.6",
"cross-env": "^5.2.0",
"eslint": "^6.1.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.4",
"lint-staged": "^9.2.3",
"nyc": "^14.1.1",
"prettier": "1.18.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.js": [
"npm run lint",
"git add"
]
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cloudinary": "^1.14.0",
"cors": "^2.8.5",
"dotenv": "^8.1.0",
"express": "^4.17.1",
"helmet": "^3.20.0",
"jest": "^24.9.0",
"jsonwebtoken": "^8.5.1",
"mailgen": "^2.0.8",
"moment": "^2.24.0",
"morgan": "^1.9.1",
"multer": "^1.4.2",
"multer-storage-cloudinary": "^2.2.1",
"node-fetch": "^2.6.0",
"nodemailer": "^6.3.0",
"nodemon": "^1.19.1",
"passport": "^0.4.0",
"passport-facebook": "^3.0.0",
"passport-github": "^1.1.0",
"passport-google-oauth": "^2.0.0",
"passport-jwt": "^4.0.0",
"passport-linkedin": "^1.0.0",
"passport-local": "^1.0.0",
"passport-twitter": "^1.0.4",
"pg": "^7.12.1",
"pg-hstore": "^2.3.3",
"sequelize": "^5.16.0",
"sequelize-cli": "^5.5.0",
"should": "^13.2.3",
"socket.io": "^2.2.0",
"supertest": "^4.0.2",
"uuid": "^3.3.3",
"validatorjs": "^3.15.1"
}
}