typeorm-model-generator/package.json
Kononnable ecf9f51806 tests: compare join table options
fix removal of primary key index
tests for #183
2019-11-11 01:23:04 +01:00

103 lines
2.9 KiB
JSON

{
"name": "typeorm-model-generator",
"version": "0.3.5",
"description": "Generates models for TypeORM from existing databases.",
"bin": "bin/typeorm-model-generator",
"scripts": {
"start": "ts-node ./src/index.ts",
"build": "npm run clean && tsc && ncp src/templates/ dist/src/templates/",
"prepare": "npm run build",
"pretest": "tsc --noEmit",
"test": "nyc --reporter=lcov ts-node ./node_modules/mocha/bin/_mocha test/**/*.test.ts -- --bail",
"posttest": "eslint ./**/*.ts ./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": "^3.1.0",
"fs-extra": "^8.1.0",
"handlebars": "^4.4.3",
"inquirer": "^7.0.0",
"mssql": "^5.1.0",
"mysql": "^2.17.1",
"pg": "^7.12.1",
"pluralize": "^8.0.0",
"prettier": "^1.18.2",
"reflect-metadata": "^0.1.13",
"sqlite3": "^4.1.0",
"typeorm": "^0.2.19",
"typescript": "^3.6.4",
"yargs": "^14.2.0",
"yn": "^3.1.1"
},
"devDependencies": {
"@types/array.prototype.flatmap": "^1.2.0",
"@types/chai": "^4.2.3",
"@types/chai-as-promised": "^7.1.2",
"@types/chai-subset": "^1.3.3",
"@types/fs-extra": "^8.0.0",
"@types/handlebars": "^4.1.0",
"@types/inquirer": "^6.5.0",
"@types/mocha": "^5.2.7",
"@types/mssql": "^4.3.1",
"@types/mysql": "^2.15.7",
"@types/node": "^12.7.12",
"@types/oracledb": "^4.0.4",
"@types/pg": "^7.11.2",
"@types/pluralize": "0.0.29",
"@types/prettier": "^1.18.3",
"@types/sinon": "^7.5.0",
"@types/sqlite3": "^3.1.5",
"@types/yargs": "^13.0.3",
"@typescript-eslint/eslint-plugin": "^2.3.3",
"@typescript-eslint/parser": "^2.3.3",
"@typescript-eslint/typescript-estree": "^2.3.3",
"array.prototype.flatmap": "^1.2.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"codecov": "^3.6.1",
"dotenv": "^8.1.0",
"eslint": "^6.5.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-import": "^2.18.2",
"husky": "^3.0.8",
"lint-staged": "^9.4.2",
"mocha": "^6.2.1",
"ncp": "^2.0.0",
"nyc": "^14.1.1",
"rimraf": "^3.0.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0",
"ts-node": "^8.4.1"
},
"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)"
]
}
}