feat: Add scripts to start backend and frontend projects
parent
6b68602472
commit
9344ebcde4
|
@ -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",
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"": {
|
||||
"name": "api-crm",
|
||||
"version": "1.0.0",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^18.4.3",
|
||||
|
|
|
@ -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": [],
|
||||
|
|
Loading…
Reference in New Issue