1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 18:52:50 +00:00

new post - updated server directories

This commit is contained in:
2016-08-31 17:46:05 +00:00
parent 97598ba7e8
commit 0c531a30c2
6 changed files with 213 additions and 70 deletions

View File

@@ -7,8 +7,8 @@
"build": "webpack && babel-node metadata.js",
"c9": "webpack-dev-server --port $PORT --host $IP --hot --content-base dist --history-api-fallback",
"dev": "webpack-dev-server --content-base public --inline --hot --history-api-fallback",
"prod": "export NODE_ENV=production && webpack -p && babel-node metadata.js && go build",
"prod-win": "set NODE_ENV=production && webpack -p && babel-node metadata.js && go build",
"prod": "export NODE_ENV=production && webpack -p && babel-node metadata.js && go build ./server/mywebsite.go",
"prod-win": "set NODE_ENV=production && webpack -p && babel-node metadata.js && go build ./server/mywebsite.go",
"deploy" : "npm run prod && ./mywebsite"
},
"repository": {