-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
45 lines (45 loc) · 2.05 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
{
"name": "git-chat-dev",
"port": 80,
"version": "1.5.0",
"description": "A chatting client for github",
"main": "./bin/www",
"author": "MayorChano <[email protected]>",
"repository": "https://github.com/dan-divy/Git-Chat",
"keywords": [
""
],
"scripts": {
"test": "test -f ./src/config/config.js || mkdir ./src/config; cat ./src/config/config.js || echo \"module.exports = {clientID: 'SECRET',clientSecret: 'SECRET',callbackURL: 'SECRET',dsn: 'SECRET'};\" >> ./src/config/config.js; node ./bin/www test",
"start": "node ./bin/www",
"postinstall": "mkdir ./src/data; mkdir ./src/data/output;echo '' >> ./src/data/output/log.log; mongod --dbpath=./src/data --quiet --port 27017 --logpath ./src/data/output/log.log --fork; echo '\nYou can now start with npm start!\n'",
"mongo": "mkdir ./src/data;mkdir ./src/data/output; echo '' >> ./src/data/output/log.log;mongod --dbpath=./src/data --quiet --port 27017 --logpath ./src/data/output/log.log --fork;",
"newroute": "echo \"const express = require('express');\nconst router = express.Router();\n\nrouter.get('/', (req, res) => {\n res.render('index');\n});\n\n\nmodule.exports = router;\" >> src/routes/newRoute.js",
"setup": "echo 'Installing packages for setup...'; npm i edit-json-file inquirer file-system --silent --quiet --loglevel=silent &>/dev/null; echo 'Packages for setup installed'; node src/tests/setup.js; echo 'To finish run npm install; npm start '"
},
"dependencies": {
"@sentry/node": "^5.3.0",
"axios": "^0.19.0",
"body-parser": "^1.19.0",
"bull": "^3.10.0",
"cookie-parser": "^1.4.4",
"edit-json-file": "^1.2.1",
"ejs": "^2.6.1",
"express": "^4.17.1",
"express-session": "^1.16.1",
"file-system": "^2.2.2",
"helmet": "^3.18.0",
"http-errors": "^1.7.2",
"inquirer": "^6.3.1",
"kue": "^0.11.6",
"mongodb": "^3.2.6",
"mongoose": "^5.5.11",
"morgan": "^1.9.1",
"passport": "^0.4.0",
"passport-github": "^1.1.0",
"path": "^0.12.7",
"queue": "^6.0.1",
"socket.io": "^2.2.0"
},
"license": "MIT"
}