mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-07 13:15:17 +02:00
🔧 build: ensure clean build, more useful scripts, add authors
This commit is contained in:
31
package.json
31
package.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "snigdhaos-web",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"homepage": "https://Snigdha-OS.github.io",
|
||||
"scripts": {
|
||||
@@ -9,10 +9,20 @@
|
||||
"dev": "vite",
|
||||
"build": "npm run clean && vite build",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"type-check": "tsc --noEmit",
|
||||
"format": "prettier --write .",
|
||||
"preview": "vite preview",
|
||||
"predeploy": "npm run build",
|
||||
"postbuild": "echo > dist/.nojekyll",
|
||||
"deploy": "gh-pages -d dist"
|
||||
"deploy": "gh-pages -d dist",
|
||||
"analyze": "vite build --mode analyze",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage",
|
||||
"start": "npm run dev",
|
||||
"prepare": "husky install",
|
||||
"validate": "npm run lint && npm run type-check && npm run test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tanstack/react-query": "^5.62.11",
|
||||
@@ -37,6 +47,9 @@
|
||||
"eslint-plugin-react-refresh": "^0.4.16",
|
||||
"gh-pages": "^6.2.0",
|
||||
"globals": "^15.14.0",
|
||||
"husky": "^8.0.3",
|
||||
"jest": "^29.7.0",
|
||||
"prettier": "^3.1.5",
|
||||
"postcss": "^8.4.49",
|
||||
"postcss-preset-env": "^10.1.3",
|
||||
"tailwindcss": "^3.4.17",
|
||||
@@ -45,5 +58,19 @@
|
||||
"vite": "^5.4.11",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-plugin-sitemap": "^0.7.1"
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "Eshan Roy",
|
||||
"email": "m.eshanized@gmail.com",
|
||||
"url": "https://eshanized.github.io"
|
||||
}
|
||||
],
|
||||
"contributors": [
|
||||
{
|
||||
"name": "D3V1L0N - RiO",
|
||||
"email": "d3v1l0n@outlook.in",
|
||||
"url": "https://d3v1l0n.github.io"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user