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",
|
"version": "0.1.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "axios",
|
"name": "crm-upload-template-frontend",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^6.5.0",
|
"@fortawesome/fontawesome-svg-core": "^6.5.0",
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
"": {
|
"": {
|
||||||
"name": "api-crm",
|
"name": "api-crm",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^18.4.3",
|
"@commitlint/cli": "^18.4.3",
|
||||||
|
|
|
@ -4,6 +4,13 @@
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"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"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|
Loading…
Reference in New Issue