UNPKG

knex-types

Version:

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

76 lines (75 loc) 1.87 kB
{ "name": "knex-types", "version": "0.5.0", "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": "kriasoft/knex-types", "contributors": [ "Konstantin Tarkus <hello@tarkus.me> (https://tarkus.me/)" ], "funding": { "type": "patreon", "url": "https://patreon.com/koistya" }, "main": "main.js", "types": "main.d.ts", "scripts": { "lint": "eslint --report-unused-disable-directives .", "test": "jest", "build": "babel --env-name production -x \".ts\" --out-dir . \"*.ts\" && tsc && rm *.test.d.ts && prettier --write ." }, "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" ] } }