Skip to content

Commit

Permalink
fix: Build script fix & Add update script.
Browse files Browse the repository at this point in the history
  • Loading branch information
KararTY committed Aug 11, 2020
1 parent fcb54e8 commit 9b3cffe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
"main": "Index.ts",
"private": true,
"scripts": {
"build": "rimraf build/ && tsc -b && copyfiles .env build/",
"build": "rimraf build/ && tsc -b && copyfiles -e \"./**/*.json\" \"./node_modules/\" .env build/",
"start": "node build/Index.js",
"start-test": "ts-node-dev --respawn --clear --log-error --inspect=\"0\" -- Index.ts",
"release": "standard-version && git push --follow-tags origin master"
"release": "standard-version && git push --follow-tags origin master",
"update": "git pull && npm run build && pm2 restart Bot"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 9b3cffe

Please sign in to comment.