feat: add state management using zustand

This commit is contained in:
2025-08-13 12:24:47 -06:00
parent 2c59ce43ad
commit 22d10902fb
4 changed files with 63 additions and 3 deletions

View File

@@ -8,15 +8,20 @@
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@types/bun": "latest",
"@types/react-dom": "^19.1.7",
"husky": "^9.1.7",
"lint-staged": "^16.1.5"
"lint-staged": "^16.1.5",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"zod": "^4.0.17",
"zustand": "^5.0.7"
},
"peerDependencies": {
"typescript": "^5"
},
"scripts": {
"prepare": "husky",
"dev": "bun build --watch src/index.ts --outdir ./dist --target browser",
"build": "bun build src/index.ts --outdir ./dist --target browser --minify"
"dev": "bun build --watch src/index.ts --outdir ./dist --target browser",
"build": "bun build src/index.ts --outdir ./dist --target browser --minify"
}
}