From b974cab045eafd401bda7084a45bc185eba9b3d7 Mon Sep 17 00:00:00 2001 From: cym <2280349364@qq.com> Date: Mon, 29 Jan 2024 18:55:26 +0800 Subject: [PATCH] setup gh-pages --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9b40618..5baa1c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "cym", "version": "0.1.0", + "homepage":"https://cymmerida123.github.io/", "private": true, "dependencies": { "@testing-library/jest-dom": "^5.17.0", @@ -15,7 +16,9 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "deploy": "gh-pages -d build", + "predeploy": "npm run build" }, "eslintConfig": { "extends": [