diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-06-06 23:00:51 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-06-06 23:09:09 +0200 |
commit | 253706c8957194cd4bd1af27eb8d8c50c5260f49 (patch) | |
tree | a0fffac1151473cb62e0aa7b596a2cacab8cbc73 /package.json | |
parent | fmt (diff) | |
download | fs-tracer-frontend-253706c8957194cd4bd1af27eb8d8c50c5260f49.tar.gz fs-tracer-frontend-253706c8957194cd4bd1af27eb8d8c50c5260f49.tar.bz2 fs-tracer-frontend-253706c8957194cd4bd1af27eb8d8c50c5260f49.zip |
Misc: Add GH pages deploy
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json index 829ddbd..5d51815 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,8 @@ "version": "0.0.0", "type": "module", "scripts": { + "predeploy": "npm run build && cp ./404.html ./dist", + "deploy": "gh-pages -d dist", "dev": "vite", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", @@ -24,6 +26,7 @@ "eslint": "^8.57.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.6", + "gh-pages": "^6.1.1", "typescript": "^5.2.2", "vite": "^5.2.0" } |