100 lines
2.8 KiB
JSON
100 lines
2.8 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/entity.mst dist/src/entity.mst",
|
|
"prepare": "npm run build",
|
|
"pretest": "tsc --noEmit",
|
|
"test": "nyc --reporter=lcov ts-node ./node_modules/mocha/bin/_mocha test/**/*.test.ts -- -R spec --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.1.2",
|
|
"inquirer": "^6.5.0",
|
|
"mssql": "^5.1.0",
|
|
"mysql": "^2.17.1",
|
|
"pg": "^7.12.0",
|
|
"prettier": "^1.18.2",
|
|
"reflect-metadata": "^0.1.13",
|
|
"sqlite3": "^4.0.9",
|
|
"typeorm": "^0.2.18",
|
|
"typescript": "^3.5.3",
|
|
"yargs": "^13.3.0",
|
|
"yn": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.1.7",
|
|
"@types/chai-as-promised": "^7.1.1",
|
|
"@types/chai-subset": "^1.3.2",
|
|
"@types/fs-extra": "^8.0.0",
|
|
"@types/handlebars": "^4.1.0",
|
|
"@types/inquirer": "^6.5.0",
|
|
"@types/mocha": "^5.2.7",
|
|
"@types/mssql": "^4.0.16",
|
|
"@types/mysql": "^2.15.6",
|
|
"@types/node": "^12.6.9",
|
|
"@types/oracledb": "^3.1.3",
|
|
"@types/pg": "^7.4.14",
|
|
"@types/prettier": "^1.18.3",
|
|
"@types/sinon": "^7.0.13",
|
|
"@types/sqlite3": "^3.1.5",
|
|
"@types/yargs": "^12.0.1",
|
|
"@types/yn": "^3.1.0",
|
|
"@typescript-eslint/eslint-plugin": "^1.13.0",
|
|
"@typescript-eslint/parser": "^1.13.0",
|
|
"@typescript-eslint/typescript-estree": "^1.13.0",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"chai-subset": "^1.6.0",
|
|
"codecov": "^3.5.0",
|
|
"dotenv": "^8.0.0",
|
|
"eslint": "^6.1.0",
|
|
"eslint-config-airbnb-base": "^14.0.0",
|
|
"eslint-config-prettier": "^6.0.0",
|
|
"eslint-plugin-import": "^2.18.2",
|
|
"husky": "^3.0.2",
|
|
"lint-staged": "^9.2.1",
|
|
"mocha": "^6.2.0",
|
|
"ncp": "^2.0.0",
|
|
"nyc": "^14.1.1",
|
|
"rimraf": "^2.6.3",
|
|
"sinon": "^7.3.2",
|
|
"sinon-chai": "^3.3.0",
|
|
"ts-node": "^8.3.0"
|
|
},
|
|
"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)"
|
|
]
|
|
}
|
|
}
|