From b4845e397b8c655b5cf4835ae23482eb62da2a1f Mon Sep 17 00:00:00 2001 From: eug-vs Date: Tue, 7 Apr 2020 16:14:46 +0300 Subject: fix: build pages before deploying --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') 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" }, -- cgit v1.2.3