-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
59 lines (59 loc) · 2.03 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
{
"name": "pwa-quick-accident-report-backend",
"description": "This application is intended to help the driver during a traffic accident.",
"version": "1.0.0",
"author": "Ricardo Reves",
"homepage": "https://cadze.ch/",
"main": "index.js",
"scripts": {
"test": "mocha --require ts-node/register ./**/*.spec.ts",
"dev": "concurrently --kill-others \"tsc -w\" \"nodemon dist/app.js\"",
"start": "node app.js",
"deploy:heroku": "tsc && cp ./package.json ./dist/package.json && cp ./.gitignore ./dist/.gitignore && git add -f ./dist/ && git add --all && git commit -m 'upd version - `date`' && git subtree split -P dist -b heroku-serve && git rm -r --cached ./dist/ && git add --all && git commit -m 'rm .temp folder' && git push heroku heroku-serve:master --force && git branch -D heroku-serve && heroku ps:scale web=1 && heroku open",
"mongod": "mongod --dbpath /home/reek/db/",
"mongo:backup": "mongodump --db express",
"mongo:restore": "mongorestore --db express --drop ./dump/express",
"mongo:deploy": "sh deploy.sh"
},
"engines": {
"node": ">=11.0.0",
"npm": ">=6.0.0"
},
"license": "ISC",
"dependencies": {
"@sendgrid/mail": "^6.3.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.3",
"compression": "^1.7.4",
"concurrently": "^4.1.0",
"cookie-parser": "^1.4.4",
"cors": "^2.8.5",
"dotenv": "^7.0.0",
"express": "^4.16.4",
"helmet": "^3.16.0",
"hpp": "^0.2.2",
"imgur": "^0.3.1",
"install": "^0.12.2",
"jsonwebtoken": "^8.5.1",
"moment": "^2.24.0",
"mongoose": "^5.4.22",
"morgan": "^1.9.1",
"node-fetch": "^2.6.0",
"npm": "^6.9.0",
"slackbots": "^1.2.0",
"ts-md5": "^1.2.4"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/dotenv": "^6.1.1",
"@types/express": "^4.16.1",
"@types/jsonwebtoken": "^8.3.2",
"@types/mocha": "^5.2.6",
"@types/mongoose": "^5.3.24",
"@types/node-fetch": "^2.3.4",
"chai": "^4.2.0",
"mocca": "^1.0.3",
"ts-node": "^8.0.3",
"typescript": "^3.4.1"
}
}