typeorm-model-generator/package.json
Kononnable a4e5018775 0.4.1
2020-03-12 19:13:53 +01:00

106 lines
3.1 KiB
JSON

{
"name": "typeorm-model-generator",
"version": "0.4.1",
"description": "Generates models for TypeORM from existing databases.",
"bin": "bin/typeorm-model-generator",
"main": "./dist/src/library.js",
"types": "./dist/src/library.d.ts",
"scripts": {
"start": "ts-node ./src/index.ts",
"build": "npm run clean && tsc && ncp src/templates/ dist/src/templates/ && ncp package.json dist/package.json",
"prepare": "npm run build",
"pretest": "tsc --noEmit",
"test": "nyc --reporter=lcov ts-node ./node_modules/mocha/bin/_mocha test/**/*.test.ts -- --bail",
"posttest": "eslint ./src/**/*.ts ./test/**/*.ts",
"clean": "rimraf coverage output dist",
"prettier": "prettier --write ./src/*.ts ./src/**/*.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Kononnable/typeorm-model-generator.git"
},
"author": "Kononnable",
"license": "MIT",
"bugs": {
"url": "https://github.com/Kononnable/typeorm-model-generator/issues"
},
"homepage": "https://github.com/Kononnable/typeorm-model-generator#readme",
"dependencies": {
"change-case": "^4.1.1",
"fs-extra": "^8.1.0",
"handlebars": "^4.5.3",
"inquirer": "^7.0.3",
"mssql": "^6.0.1",
"mysql": "^2.17.1",
"pg": "^7.17.0",
"pluralize": "^8.0.0",
"prettier": "^1.19.1",
"reflect-metadata": "^0.1.13",
"sqlite3": "^4.1.1",
"typeorm": "^0.2.22",
"typescript": "^3.7.4",
"yargs": "^15.1.0",
"yn": "^3.1.1"
},
"devDependencies": {
"@types/array.prototype.flatmap": "^1.2.0",
"@types/chai": "^4.2.7",
"@types/chai-as-promised": "^7.1.2",
"@types/chai-subset": "^1.3.3",
"@types/eslint": "^6.1.3",
"@types/fs-extra": "^8.0.1",
"@types/handlebars": "^4.1.0",
"@types/inquirer": "^6.5.0",
"@types/mocha": "^5.2.7",
"@types/mssql": "^6.0.0",
"@types/mysql": "^2.15.8",
"@types/node": "^13.1.4",
"@types/oracledb": "^4.1.1",
"@types/pg": "^7.14.1",
"@types/pluralize": "0.0.29",
"@types/prettier": "^1.19.0",
"@types/sinon": "^7.5.1",
"@types/sqlite3": "^3.1.6",
"@types/yargs": "^13.0.4",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"@typescript-eslint/typescript-estree": "^2.15.0",
"array.prototype.flatmap": "^1.2.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"codecov": "^3.6.1",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.19.1",
"husky": "^4.0.1",
"lint-staged": "^9.5.0",
"mocha": "^7.0.0",
"ncp": "^2.0.0",
"nyc": "^15.0.0",
"rimraf": "^3.0.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.4.0",
"ts-node": "^8.5.4"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier && git update-index --again"
}
},
"nyc": {
"check-coverage": true,
"all": true,
"extension": [
".ts",
".tsx"
],
"lines": "50",
"include": [
"src/**/!(*.test.*).[tj]s?(x)"
]
}
}