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" } }