Skip to content

Commit

Permalink
Added scripts and .gitignore for release management
Browse files Browse the repository at this point in the history
  • Loading branch information
EnKrypt committed Sep 26, 2019
1 parent ce78b72 commit 8a48fa2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vscode/
release/
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"name": "doppler-monitor",
"name": "doppler",
"version": "0.1.0",
"description": "A zero configuration remote monitoring tool designed to be better than nothing",
"scripts": {
"build": "cd backend && rm -rf ./dist && tsc && cd ../frontend && react-scripts build && cp -r ./build ../backend/dist/serve",
"start": "cd backend && node dist/app.js",
"clean": "cd backend && rm -rf node_modules dist && cd ../frontend && rm -rf node_modules build"
"clean": "rm -rf release && cd backend && rm -rf node_modules dist && cd ../frontend && rm -rf node_modules build",
"package": "cd backend/dist && pkg app.js --out-path ../../release/ --config ../../package.json"
},
"pkg": {
"assets": "backend/dist/serve/**/*"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 8a48fa2

Please sign in to comment.