fix duplicate script keys

This commit is contained in:
Bilal
2020-09-04 07:26:05 +03:00
parent fe1c5aff3e
commit 85a8fbda4d

View File

@@ -3,18 +3,15 @@
"node": "10.15.3", "node": "10.15.3",
"yarn": "1.15.2" "yarn": "1.15.2"
}, },
"scripts": {
"build": "yarn --cwd client install && yarn --cwd client build",
"deploy": "cp -a client/build/. protected_public/",
"heroku-postbuild": "yarn build && yarn deploy"
},
"dependencies": { "dependencies": {
"react-router-dom": "^5.0.1" "react-router-dom": "^5.0.1"
}, },
"scripts": { "scripts": {
"dev-db": "docker run --name gangstadb -d -p 5432:5432 -e POSTGRES_PASSWORD=docker -e POSTGRES_DB=roraccounting_development roraccounting", "dev-db": "docker run --name gangstadb -d -p 5432:5432 -e POSTGRES_PASSWORD=docker -e POSTGRES_DB=roraccounting_development roraccounting",
"server": "PORT=3001 bundle exec rails s", "server": "PORT=3001 bundle exec rails s",
"client": "PORT=3000 yarn --cwd client start" "client": "PORT=3000 yarn --cwd client start",
"build": "yarn --cwd client install && yarn --cwd client build",
"deploy": "cp -a client/build/. protected_public/",
"heroku-postbuild": "yarn build && yarn deploy"
} }
} }