chore(scripts): drop redundant lifecycle wrappers, inline submodule setup into wagmi:gen

This commit is contained in:
2026-05-04 22:49:57 -03:00
committed by hueso
parent 555eac9e7c
commit c9ca178b24

View File

@@ -3,19 +3,16 @@
"version": "1.2.0",
"type": "module",
"scripts": {
"prestart": "bun run wagmi:gen",
"start": "vite --host=0.0.0.0 --port 3000",
"start": "bun run wagmi:gen && vite --host=0.0.0.0 --port 3000",
"build": "bun run type-check && bun run build-only",
"preview": "vite preview",
"build-only": "vite build",
"preview": "vite preview",
"type-check": "vue-tsc --skipLibCheck --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.{ts,vue,json}\"",
"format:check": "prettier --check \"src/**/*.{ts,vue,json}\"",
"contracts:setup": "(test -f p2pix-smart-contracts/.env || cp p2pix-smart-contracts/.env.example p2pix-smart-contracts/.env) && pushd p2pix-smart-contracts && bun install && popd",
"prewagmi:gen": "bun run contracts:setup",
"wagmi:gen": "wagmi generate"
"wagmi:gen": "(test -f p2pix-smart-contracts/.env || cp p2pix-smart-contracts/.env.example p2pix-smart-contracts/.env) && pushd p2pix-smart-contracts && bun install && popd && wagmi generate"
},
"dependencies": {
"@floating-ui/vue": "^1.1.11",