Add `pocketbase-typegen`
This commit is contained in:
parent
1712e5c8bd
commit
f39e98f1c3
File diff suppressed because it is too large
Load Diff
|
@ -16,7 +16,8 @@
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"lint": "tsc && eslint --max-warnings=0 src",
|
"lint": "tsc && eslint --max-warnings=0 src",
|
||||||
"lint:fix": "eslint --fix src",
|
"lint:fix": "eslint --fix src",
|
||||||
"stats:bundle": "npm run build && open stats.html"
|
"stats:bundle": "npm run build && open stats.html",
|
||||||
|
"typegen": "pocketbase-typegen --db ../pocketbase/pb_data/data.db -o src/@types/pocketbase-types.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hyper-tuner/ini": "^0.4.0",
|
"@hyper-tuner/ini": "^0.4.0",
|
||||||
|
@ -63,6 +64,7 @@
|
||||||
"eslint-plugin-react": "^7.31.10",
|
"eslint-plugin-react": "^7.31.10",
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||||||
"less": "^4.1.3",
|
"less": "^4.1.3",
|
||||||
|
"pocketbase-typegen": "^1.0.5",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"rollup-plugin-visualizer": "^5.8.3",
|
"rollup-plugin-visualizer": "^5.8.3",
|
||||||
"typescript": "^4.8.4"
|
"typescript": "^4.8.4"
|
||||||
|
|
Loading…
Reference in New Issue