json-schema-to-sql
Version:
Convert a JSON schema into SQL DDL (create table) statements.
65 lines • 1.56 kB
JSON
{
"name": "json-schema-to-sql",
"version": "1.0.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"type": "module",
"scripts": {
"start": "tsx src/index.ts",
"test": "vitest",
"build": "tsc"
},
"author": "Vasil Velikov",
"repository": {
"type": "git",
"url": "git+https://github.com/VasilVelikov00/json-schema-to-sql"
},
"bugs": {
"url": "https://github.com/VasilVelikov00/json-schema-to-sql/issues"
},
"homepage": "https://github.com/VasilVelikov00/json-schema-to-sql#readme",
"license": "MIT",
"keywords": [
"converter",
"generator",
"parser",
"validator",
"SQL",
"sql",
"SQL DDL",
"sql-ddl",
"json-schema",
"jsonschema",
"JSON Schema",
"PostgreSQL",
"postgresql",
"MySQL",
"mysql",
"ajv",
"zod",
"knex"
],
"description": "Convert a JSON schema into SQL DDL (create table) statements.",
"dependencies": {
"ajv": "^8.17.1",
"json-schema": "^0.4.0",
"knex": "^3.1.0",
"tsx": "^4.19.4",
"zod": "^3.24.4"
},
"devDependencies": {
"@types/json-schema": "^7.0.15",
"@types/node": "^22.15.18",
"@typescript-eslint/eslint-plugin": "^8.32.1",
"@typescript-eslint/parser": "^8.32.1",
"@vitest/coverage-v8": "^3.1.3",
"eslint": "^9.26.0",
"eslint-plugin-prettier": "^5.4.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sort-destructure-keys": "^2.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
}
}