feat: add start:cloud target to yarn to run in a cloud like env

pull/16002/head
Chris Goller 2019-11-20 23:55:54 -06:00
parent da44220413
commit b54a3349dc
1 changed files with 3 additions and 1 deletions

View File

@ -17,8 +17,10 @@
},
"scripts": {
"start": "yarn install && yarn generate && cross-env TS_NODE_PROJECT=\"webpack.tsconfig.json\" && yarn run build:vendor && yarn run start:dev",
"start:docker": "yarn generate && yarn build:vendor && yarn run start:dev",
"start:cloud": "yarn install && yarn generate && cross-env TS_NODE_PROJECT=\"webpack.tsconfig.json\" && yarn run build:vendor && yarn run start:cloud-dev",
"start:dev": "webpack-dev-server --config ./webpack.dev.ts",
"start:cloud-dev": "CLOUD=true CLOUD_LOGOUT_URL=http://localhost:8080/api/v2/signout CLOUD_URL=http://localhost:9999 webpack-dev-server --config ./webpack.dev.ts",
"start:docker": "yarn generate && yarn build:vendor && yarn run start:dev",
"build": "yarn install --silent && yarn build:ci",
"build:ci": "yarn generate && yarn build:vendor && webpack --config webpack.prod.ts",
"build:vendor": "webpack --config webpack.vendor.ts",