75 lines
1.7 KiB
JSON
75 lines
1.7 KiB
JSON
{
|
|
"name": "@alkdev/drizzlebox",
|
|
"version": "0.1.0",
|
|
"description": "Generate Typebox schemas from Drizzle ORM schemas — fork of drizzle-typebox with @alkdev/typebox support",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsx scripts/build.ts",
|
|
"b": "pnpm build",
|
|
"test:types": "cd tests && tsc",
|
|
"pack": "(cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz",
|
|
"test": "vitest run"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./index.d.mts",
|
|
"default": "./index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./index.d.cjs",
|
|
"default": "./index.cjs"
|
|
},
|
|
"types": "./index.d.ts",
|
|
"default": "./index.mjs"
|
|
}
|
|
},
|
|
"main": "./index.cjs",
|
|
"module": "./index.mjs",
|
|
"types": "./index.d.ts",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.alk.dev/alkdev/drizzlebox.git"
|
|
},
|
|
"keywords": [
|
|
"typebox",
|
|
"drizzlebox",
|
|
"validate",
|
|
"validation",
|
|
"schema",
|
|
"drizzle",
|
|
"orm",
|
|
"pg",
|
|
"mysql",
|
|
"postgresql",
|
|
"postgres",
|
|
"sqlite",
|
|
"database",
|
|
"sql",
|
|
"typescript",
|
|
"ts"
|
|
],
|
|
"author": "Based on drizzle-typebox by Drizzle Team; fork maintained by alkdev",
|
|
"license": "Apache-2.0",
|
|
"peerDependencies": {
|
|
"@alkdev/typebox": ">=0.34.49",
|
|
"drizzle-orm": ">=0.36.0"
|
|
},
|
|
"devDependencies": {
|
|
"@alkdev/typebox": "^0.34.49",
|
|
"@babel/parser": "^7.24.0",
|
|
"@rollup/plugin-typescript": "^11.1.0",
|
|
"@types/node": "^18.15.10",
|
|
"cpy": "^10.1.0",
|
|
"drizzle-orm": "^0.38.4",
|
|
"recast": "^0.23.9",
|
|
"resolve-tspaths": "^0.8.23",
|
|
"rimraf": "^5.0.0",
|
|
"rollup": "^3.20.7",
|
|
"tsx": "^4.0.0",
|
|
"typescript": "^5.4.0",
|
|
"vite-tsconfig-paths": "^4.3.2",
|
|
"vitest": "^1.6.0",
|
|
"zx": "^7.2.2"
|
|
}
|
|
} |