Keep CNAME on master, copy it on build to deploy

This commit is contained in:
Tyler Hallada 2018-04-16 23:00:50 -04:00
parent 12b2fa7400
commit 065a69a475
2 changed files with 2 additions and 1 deletions

1
CNAME Normal file
View File

@ -0,0 +1 @@
transport.hallada.net

View File

@ -5,7 +5,7 @@
"private": true,
"scripts": {
"start": "NODE_ENV=development ./node_modules/.bin/webpack-dev-server --mode development",
"build": "NODE_ENV=production ./node_modules/.bin/webpack --mode production",
"build": "NODE_ENV=production ./node_modules/.bin/webpack --mode production && cp CNAME dist/",
"deploy": "./node_modules/.bin/gh-pages -d dist --remote github",
"lint": "./node_modules/.bin/tslint src/",
"test": "echo \"Error: no test specified\" && exit 1"