about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-06-06 23:00:51 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-06-06 23:09:09 +0200
commit253706c8957194cd4bd1af27eb8d8c50c5260f49 (patch)
treea0fffac1151473cb62e0aa7b596a2cacab8cbc73 /package.json
parentfmt (diff)
downloadfs-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.json3
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"
   }