UNPKG

@kauza/knex-types

Version:

Generates TypeScript definitions (types) from a (PostgreSQL) database schema.

77 lines (76 loc) 1.92 kB
{ "name": "@kauza/knex-types", "version": "4.0.1", "description": "Generates TypeScript definitions (types) from a (PostgreSQL) database schema.", "keywords": [ "database", "db", "definitions", "generate", "generator", "postgres", "postgresql", "scaffold", "scaffolding", "schema", "template", "types", "typescript" ], "license": "MIT", "author": { "name": "Kriasoft", "email": "hello@kriasoft.com", "url": "https://kriasoft.com" }, "repository": { "type": "git", "url": "git+https://github.com/kauza/knex-types.git" }, "contributors": [ "Konstantin Tarkus <hello@tarkus.me> (https://tarkus.me/)", "Jeffrey Shen <jeffrey.shen@kauza.dk>" ], "main": "main.js", "types": "main.d.ts", "scripts": { "lint": "eslint --report-unused-disable-directives .", "test": "jest", "build": "npm run lint && prettier --write . && tsc && babel --env-name production -x \".ts\" --out-dir . \"*.ts\"", "prepare": "npm run build" }, "packageManager": "yarn@4.0.0-rc.32", "dependencies": { "lodash": "^4.17.21", "pg": "^8.8.0" }, "peerDependencies": { "knex": ">=0.95" }, "devDependencies": { "@babel/cli": "^7.19.3", "@babel/core": "^7.20.5", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.18.6", "@types/jest": "^29.2.3", "@types/lodash": "^4.14.191", "@types/node": "^18.11.10", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "babel-plugin-import": "^1.13.5", "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "jest": "^29.3.1", "knex": "^2.3.0", "prettier": "^2.8.0", "typescript": "^4.9.3" }, "jest": { "testEnvironment": "node", "moduleFileExtensions": [ "ts", "js" ] } }