npm package.json with a working build

This commit is contained in:
voje 2019-05-04 16:49:47 +02:00
parent 2ff339e24c
commit 02c0e74798
5 changed files with 2129 additions and 2187 deletions

View File

@ -22,3 +22,8 @@ prod: build-container clean
node-env: clean
docker run --name $(CONNAME) -it -p 8080:8080 -v $(shell pwd):/src $(IMGNAME)
build-prod: build-container clean
docker run --rm -v $(shell pwd):/src $(IMGNAME) /src/ops_scripts/prod.sh

View File

@ -1,3 +1,3 @@
{
"api_addr": "http://0.0.0.0:8084"
"api_addr": "http://193.2.76.103:8084"
}

View File

@ -4,4 +4,4 @@ cp ./config/config_prod.json ./config/config.json
npm install
npm run build
http-server /src/dist
# http-server /src/dist

File diff suppressed because it is too large Load Diff

View File

@ -38,7 +38,7 @@
"friendly-errors-webpack-plugin": "^1.6.1",
"html-webpack-plugin": "^2.30.1",
"node-notifier": "^5.4.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"optimize-css-assets-webpack-plugin": "^3.2.0",
"ora": "^1.2.0",
"portfinder": "^1.0.20",
"postcss-import": "^11.0.0",