Keep CNAME on master, copy it on build to deploy
This commit is contained in:
parent
12b2fa7400
commit
065a69a475
@ -5,7 +5,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "NODE_ENV=development ./node_modules/.bin/webpack-dev-server --mode development",
|
"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",
|
"deploy": "./node_modules/.bin/gh-pages -d dist --remote github",
|
||||||
"lint": "./node_modules/.bin/tslint src/",
|
"lint": "./node_modules/.bin/tslint src/",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
Loading…
Reference in New Issue
Block a user