aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-04-07 16:14:46 +0300
committereug-vs <eug-vs@keemail.me>2020-04-07 16:14:46 +0300
commitb4845e397b8c655b5cf4835ae23482eb62da2a1f (patch)
tree566576d099e451c03aec51c5225b3b2ca1d081f3 /package.json
parent1e5a9f1baa7b201f32f6e38ec891e6ffebebef1a (diff)
downloadreact-benzin-b4845e397b8c655b5cf4835ae23482eb62da2a1f.tar.gz
fix: build pages before deploying
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
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"
},