Merge pull request #290 from SISheogorath/feature/build-commands

Split frontend and backend build
This commit is contained in:
Sheogorath 2020-06-04 17:14:42 +02:00 committed by GitHub
commit 4552085ae0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,8 +12,10 @@
"standard": "echo 'standard is no longer being used, use `npm run eslint` instead!' && exit 1",
"dev": "webpack --config webpack.dev.js --progress --colors --watch",
"heroku-prebuild": "bin/heroku",
"build": "webpack --config webpack.prod.js --progress --colors --bail",
"start": "tsc && sequelize db:migrate && node built/lib/app.js"
"build": "npm run-script build-backend && npm run-script build-frontend",
"build-backend": "tsc",
"build-frontend": "webpack --config webpack.prod.js --progress --colors --bail",
"start": "sequelize db:migrate && node built/lib/app.js"
},
"dependencies": {
"@passport-next/passport-openid": "^1.0.0",