75 lines
1.5 KiB
JSON
75 lines
1.5 KiB
JSON
{
|
|
"name": "drizzle-typebox",
|
|
"version": "0.3.3",
|
|
"description": "Generate Typebox schemas from Drizzle ORM schemas",
|
|
"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",
|
|
"publish": "npm publish 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",
|
|
"publishConfig": {
|
|
"provenance": true
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/drizzle-team/drizzle-orm.git"
|
|
},
|
|
"keywords": [
|
|
"typebox",
|
|
"validate",
|
|
"validation",
|
|
"schema",
|
|
"drizzle",
|
|
"orm",
|
|
"pg",
|
|
"mysql",
|
|
"postgresql",
|
|
"postgres",
|
|
"sqlite",
|
|
"database",
|
|
"sql",
|
|
"typescript",
|
|
"ts"
|
|
],
|
|
"author": "Drizzle Team",
|
|
"license": "Apache-2.0",
|
|
"peerDependencies": {
|
|
"@sinclair/typebox": ">=0.34.8",
|
|
"drizzle-orm": ">=0.36.0"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-typescript": "^11.1.0",
|
|
"@sinclair/typebox": "^0.34.8",
|
|
"@types/node": "^18.15.10",
|
|
"cpy": "^10.1.0",
|
|
"drizzle-orm": "link:../drizzle-orm/dist",
|
|
"json-rules-engine": "^7.3.1",
|
|
"rimraf": "^5.0.0",
|
|
"rollup": "^3.29.5",
|
|
"vite-tsconfig-paths": "^4.3.2",
|
|
"vitest": "^3.1.3",
|
|
"zx": "^7.2.2"
|
|
}
|
|
}
|