Files
old-roraccounting/package.json
Senad Uka 576eb1fad9 Merge branch 'improve-initial-setup-procedure' into 'master'
update readme; add helper yarn commands

See merge request saburly/gangsta/roraccounting!1
2020-09-04 03:20:04 +00:00

21 lines
584 B
JSON

{
"engines": {
"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"
}
}