From 85a8fbda4d3122956fc955273a4f1bdbf919ddbd Mon Sep 17 00:00:00 2001 From: Bilal Date: Fri, 4 Sep 2020 07:26:05 +0300 Subject: [PATCH] fix duplicate script keys --- package.json | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 60b6e00..7bc8098 100644 --- a/package.json +++ b/package.json @@ -3,18 +3,15 @@ "node": "10.15.3", "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": { "react-router-dom": "^5.0.1" }, - "scripts": { "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", - "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" } }