feat: Add scripts to start backend and frontend projects

feat/hitphone-socket-integration
adriano 2023-11-29 17:50:57 -03:00
parent 6b68602472
commit 9344ebcde4
3 changed files with 10 additions and 2 deletions

View File

@ -1,11 +1,11 @@
{
"name": "axios",
"name": "crm-upload-template-frontend",
"version": "0.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "axios",
"name": "crm-upload-template-frontend",
"version": "0.1.0",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.0",

1
package-lock.json generated
View File

@ -7,6 +7,7 @@
"": {
"name": "api-crm",
"version": "1.0.0",
"hasInstallScript": true,
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^18.4.3",

View File

@ -4,6 +4,13 @@
"description": "",
"main": "index.js",
"scripts": {
"install-backend": "npm install --prefix backend",
"install-frontend": "npm install --prefix frontend",
"install": "npm run install-backend && npm run install-frontend",
"backend": "npm start --prefix backend",
"frontend": "npm start --prefix frontend",
"start": "npm run backend & npm run frontend",
"dev": "npm run dev --prefix backend & npm run frontend",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],