Skip to content

Commit

Permalink
build command
Browse files Browse the repository at this point in the history
  • Loading branch information
SDE-ADNAN committed Jan 6, 2024
1 parent 48d9676 commit 3408e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"main": "./dist/app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "cd ../admin-client && sudo rm -rf ../server/dist/public && sudo mkdir -p ../server/dist/public && cd ./build && sudo cp -r * ../../server/dist/public && sudo rm -rf ../server/public && sudo mkdir -p ../server/public && sudo cp -r * ../../server/public && cd ../../server && npm run prepare-deploy && git add . && git commit -m 'build command' && git push origin master",
"bpd": "cd ../admin-client && sudo rm -rf ../server/dist/public && sudo mkdir -p ../server/dist/public && cd ./build && sudo cp -r * ../../server/dist/public && sudo rm -rf ../server/public && sudo mkdir -p ../server/public && sudo cp -r * ../../server/public && cd ../../server && npm run prepare-deploy && git add . && git commit -m 'build command' && git push origin master",
"dev": "NODE_ENV=development nodemon ./dist/app.js",
"prepare-deploy":"cd ../admin-client && npm run build && cd ../server && tsc"
},
Expand Down

0 comments on commit 3408e3c

Please sign in to comment.