florale-emotion/package-scripts.json

23 lines
1013 B
JSON

{
"scripts": {
"setup": "npm install && cd backend && npm install && cd ../social-media-bot && npm install",
"dev": "concurrently \"npm run frontend\" \"npm run backend\" \"npm run bot\"",
"frontend": "ng serve --host 0.0.0.0 --port 4200",
"backend": "cd backend && npm run dev",
"bot": "cd social-media-bot && npm run dev",
"build": "ng build --configuration production",
"build:backend": "cd backend && npm run build",
"start:prod": "concurrently \"npm run serve:frontend\" \"npm run start:backend\"",
"serve:frontend": "npx http-server dist/florale-emotion -p 8080",
"start:backend": "cd backend && npm start",
"test": "ng test",
"lint": "ng lint",
"deploy": "npm run build && npm run deploy:frontend && npm run deploy:backend",
"deploy:frontend": "echo 'Deploy frontend to your hosting provider'",
"deploy:backend": "echo 'Deploy backend to your server'"
},
"devDependencies": {
"concurrently": "^8.2.2",
"http-server": "^14.1.1"
}
}