mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
Webpack should build for production
This commit is contained in:
parent
0a9ee1309a
commit
87fe098851
@ -18,8 +18,10 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "NODE_ENV=production node server.js",
|
||||
"build": "./node_modules/.bin/webpack",
|
||||
"build": "./node_modules/.bin/webpack -p",
|
||||
"dev": "NODE_ENV=development supervisor --ignore ./node_modules/,./public/js server.js",
|
||||
"start-pg": "pg_virtualenv npm run start-pg-chain",
|
||||
"start-pg-chain": "export DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; db-migrate up && npm run dev",
|
||||
"test": "export PORT=4243 ; jest && npm run lint && mocha test test/*.js && npm run coverage",
|
||||
"docker-test": "export PORT=4243 ; ./scripts/docker-postgres.sh",
|
||||
"pg-virtualenv-test": "pg_virtualenv npm run pg-virtualenv-chain",
|
||||
|
Loading…
Reference in New Issue
Block a user