-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 963 Bytes
/
Copy pathpackage.json
File metadata and controls
29 lines (29 loc) · 963 Bytes
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
{
"name": "simple-discord-bot",
"version": "1.0.0",
"description": "Simple discord bot implementation",
"main": "bot.js",
"homepage": "https://MrPowerScripts.com",
"maintainers": [
"MrPowerScripts"
],
"author": "MrPowerScripts",
"dependencies": {
"discord.js": "git+https://git@github.com/discordjs/discord.js.git",
"forever": "^0.15.3"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"babel-watch": "^2.0.7"
},
"scripts": {
"dev": "NODE_ENV=dev babel-node bot.js",
"build": "babel bot.js -o bot.bin.js",
"_prod_run": "NODE_ENV=production forever start bot.bin.js",
"watch": "NODE_ENV=dev babel-watch bot.js",
"start": "npm run build && npm run _prod_run",
"stop": "uid=$(forever list | grep bot.bin.js | cut -c24-27) && forever stop $uid"
}
}