diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-07-02 14:29:34 -0700 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-07-02 14:29:34 -0700 |
commit | b5a57eb630312f18e07211f6efbfabe7eb6eb2bd (patch) | |
tree | e0470ed87793ece69511675673185a0fbfd3226d | |
parent | 06851cf7b0d7c08ae580615b1a20b700ef4d18a6 (diff) |
Add publish alias
-rw-r--r-- | package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json index e44e58a..ecbbdab 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "clean": "rimraf ./build/*", "build": "yarn run clean && NODE_ENV=production APP_TITLE='App' webpack --config ./config/webpack.config.js", "dev": "APP_TITLE='App' webpack-dev-server --config ./config/webpack.config.js", - "serve": "serve -s ./build" + "serve": "serve -s ./build", + "publish": "yarn run build && cp-cli CNAME ./build/CNAME && gh-pages -d build" }, "author": "Nick Van Doorn <vandoorn.nick@gmail.com>", "license": "ISC", @@ -23,6 +24,7 @@ "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", + "cp-cli": "^1.0.2", "css-js-loader": "^0.3.0", "css-loader": "^0.28.1", "eslint": "^3.19.0", @@ -35,6 +37,7 @@ "extract-text-webpack-plugin": "^2.1.0", "file-loader": "^0.11.2", "font-awesome": "^4.7.0", + "gh-pages": "^1.0.0", "html-webpack-plugin": "^2.28.0", "interpolate-html-plugin": "^2.0.0", "lodash": "^4.17.4", |