chore: deploy to gh pages

This commit is contained in:
Khairul Hidayat 2023-05-26 15:59:46 +07:00
parent 12fd0339db
commit 88d9cf261c
2 changed files with 5 additions and 1 deletions

View File

@ -2,8 +2,11 @@
"name": "loli-license-generator", "name": "loli-license-generator",
"private": true, "private": true,
"version": "1.0.0", "version": "1.0.0",
"homepage": "https://khairul169.github.io/loli-license",
"type": "module", "type": "module",
"scripts": { "scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"dev": "vite", "dev": "vite",
"build": "tsc && vite build", "build": "tsc && vite build",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
@ -29,6 +32,7 @@
"eslint": "^8.38.0", "eslint": "^8.38.0",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.3.4", "eslint-plugin-react-refresh": "^0.3.4",
"gh-pages": "^5.0.0",
"typescript": "^5.0.2", "typescript": "^5.0.2",
"vite": "^4.3.2" "vite": "^4.3.2"
} }

View File

@ -72,7 +72,7 @@ const App = () => {
  | Fork on    | Fork on 
<Link <Link
fontWeight="bold" fontWeight="bold"
href="https://github.com/khairul169/Loli-License.git" href="https://github.com/khairul169/loli-license.git"
> >
Github Github
</Link> </Link>