Files
old-roraccounting/package.json
2020-09-04 07:26:05 +03:00

18 lines
564 B
JSON

{
"engines": {
"node": "10.15.3",
"yarn": "1.15.2"
},
"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",
"build": "yarn --cwd client install && yarn --cwd client build",
"deploy": "cp -a client/build/. protected_public/",
"heroku-postbuild": "yarn build && yarn deploy"
}
}