pg-to-ts
Version:
Generate TypeScript-friendly interfaces and constants from (postgres) SQL database schema
69 lines (68 loc) • 1.65 kB
JSON
{
"name": "pg-to-ts",
"version": "4.1.1",
"description": "Generate TypeScript-friendly interfaces and constants from (postgres) SQL database schema",
"keywords": [
"postgres",
"schema",
"typescript",
"sql"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"engines": {
"node": ">=8.15.1"
},
"scripts": {
"lint": "eslint . --ext .ts,.tsx",
"build": "tsc",
"format": "prettier --write .",
"test": "jest",
"clean": "rm -rf dist",
"coverage": "jest --coverage"
},
"bin": {
"pg-to-ts": "dist/cli.js"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/danvk/pg-to-ts.git"
},
"bugs": {
"url": "https://github.com/danvk/pg-to-ts/issues"
},
"author": "Dan Vanderkam <danvdk@gmail.com>",
"contributors": [
"Mengxuan Xia <xiamx2004@gmail.com>",
"Arnaud Benhamdine <arnaud.benhamdine@gmail.com>",
"zigomir <zigomir@gmail.com>",
"Mark Crisp <macr1324@gmail.com>",
"George MacKerron <george@psyt.co.uk>"
],
"license": "MIT",
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/lodash": "^4.14.149",
"@types/node": "14",
"@types/yargs": "^17.0.8",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"eslint": "^8.9.0",
"jest": "^27.5.1",
"prettier": "^2.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
},
"dependencies": {
"lodash": "^4.17.21",
"pg-promise": "^10.11.1",
"typescript-formatter": "^7.0.1",
"yargs": "^17.3.1"
},
"peerDependencies": {
"typescript": ">=4.1"
}
}