-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.48 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": "smsbot",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "gulp build",
"clean": "rm -rf build",
"dev": "env $(cat env) gulp dev",
"start": "env $(cat env) nodemon build/app.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"babel-preset-es2015": "^6.14.0",
"body-parser": "^1.15.2",
"cookie-parser": "^1.4.3",
"express": "^4.14.0",
"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"gulp-nodemon": "^2.1.0",
"mailparser": "^0.6.1",
"morgan": "^1.7.0",
"multer": "^1.2.0",
"nodemailer": "^2.6.4",
"nodemailer-sendgrid-transport": "^0.2.0",
"nodemailer-ses-transport": "^1.4.0",
"nodemon": "^1.10.2",
"then-mongo": "^2.3.2",
"twilio": "^2.11.0"
},
"devDependencies": {},
"apps": [
{
"name": "smsbot",
"script": "build/app.js",
"cwd": "/home/tim/smsbot/current",
"out_file": "../logs/out.log",
"error_file": "../logs/error.log",
"instances": 0,
"env": {
"NODE_ENV": "development"
},
"env_production" : {
"NODE_ENV": "production"
}
}
],
"deploy": {
"production": {
"host": "squids.online",
"user": "tim",
"repo": "https://github.com/twfarnam/sms-bot.git",
"ref": "origin/master",
"path": "/home/tim/smsbot",
"post-deploy": "npm install && npm run clean && npm run build && env $(cat ../shared/env) pm2 startOrRestart package.json"
}
}
}