diff options
author | eug-vs <eug-vs@keemail.me> | 2020-04-07 16:14:46 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-04-07 16:14:46 +0300 |
commit | b4845e397b8c655b5cf4835ae23482eb62da2a1f (patch) | |
tree | 566576d099e451c03aec51c5225b3b2ca1d081f3 | |
parent | 1e5a9f1baa7b201f32f6e38ec891e6ffebebef1a (diff) | |
download | react-benzin-b4845e397b8c655b5cf4835ae23482eb62da2a1f.tar.gz |
fix: build pages before deploying
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 847abef..f5e6d22 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint": "eslint . --ext ts,tsx --max-warnings 0", "test": "npm run lint && tsc", "build-pages": "react-scripts build", - "deploy-pages": "gh-pages -d build", + "deploy-pages": "npm run build-pages && gh-pages -d build", "compile-dist": "rm -rf dist && tsc --project tsconfig.release.json", "publish-package": "npm run lint && npm run build && npm publish --public" }, |