typeorm-model-generator/package.json

106 lines
3.1 KiB
JSON
Raw Normal View History

2017-03-23 21:38:12 +00:00
{
2019-03-02 11:47:18 +00:00
"name": "typeorm-model-generator",
2020-01-08 21:03:18 +00:00
"version": "0.4.0",
2019-03-02 11:47:18 +00:00
"description": "Generates models for TypeORM from existing databases.",
"bin": "bin/typeorm-model-generator",
"main": "./dist/src/library.js",
"types": "./dist/src/library.d.ts",
2019-03-02 11:47:18 +00:00
"scripts": {
2019-06-07 22:12:29 +00:00
"start": "ts-node ./src/index.ts",
"build": "npm run clean && tsc && ncp src/templates/ dist/src/templates/ && ncp package.json dist/package.json",
2019-08-27 18:16:39 +00:00
"prepare": "npm run build",
"pretest": "tsc --noEmit",
2019-10-12 10:30:42 +00:00
"test": "nyc --reporter=lcov ts-node ./node_modules/mocha/bin/_mocha test/**/*.test.ts -- --bail",
2019-12-28 11:16:26 +00:00
"posttest": "eslint ./src/**/*.ts ./test/**/*.ts",
2019-08-27 17:54:01 +00:00
"clean": "rimraf coverage output dist",
2019-06-07 22:12:29 +00:00
"prettier": "prettier --write ./src/*.ts ./src/**/*.ts"
2019-03-02 11:47:18 +00:00
},
"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": {
2020-01-05 19:00:56 +00:00
"change-case": "^4.1.1",
2019-08-03 18:26:37 +00:00
"fs-extra": "^8.1.0",
2019-12-18 21:24:05 +00:00
"handlebars": "^4.5.3",
2020-01-08 20:04:56 +00:00
"inquirer": "^7.0.3",
2019-12-18 21:24:05 +00:00
"mssql": "^6.0.1",
2019-06-05 16:31:04 +00:00
"mysql": "^2.17.1",
2020-01-05 19:00:56 +00:00
"pg": "^7.17.0",
2019-10-12 15:45:18 +00:00
"pluralize": "^8.0.0",
2019-12-18 21:24:05 +00:00
"prettier": "^1.19.1",
2019-03-02 11:47:18 +00:00
"reflect-metadata": "^0.1.13",
2019-12-18 21:24:05 +00:00
"sqlite3": "^4.1.1",
2020-01-05 19:00:56 +00:00
"typeorm": "^0.2.22",
"typescript": "^3.7.4",
"yargs": "^15.1.0",
2019-10-13 09:06:11 +00:00
"yn": "^3.1.1"
2019-03-02 11:47:18 +00:00
},
"devDependencies": {
"@types/array.prototype.flatmap": "^1.2.0",
2019-12-18 21:24:05 +00:00
"@types/chai": "^4.2.7",
"@types/chai-as-promised": "^7.1.2",
"@types/chai-subset": "^1.3.3",
"@types/eslint": "^6.1.3",
2019-12-18 21:24:05 +00:00
"@types/fs-extra": "^8.0.1",
2019-06-05 16:31:04 +00:00
"@types/handlebars": "^4.1.0",
2019-08-03 18:26:37 +00:00
"@types/inquirer": "^6.5.0",
2019-06-05 16:31:04 +00:00
"@types/mocha": "^5.2.7",
2019-12-18 21:24:05 +00:00
"@types/mssql": "^6.0.0",
"@types/mysql": "^2.15.8",
2020-01-05 19:00:56 +00:00
"@types/node": "^13.1.4",
2019-12-18 21:24:05 +00:00
"@types/oracledb": "^4.1.1",
2020-01-05 19:00:56 +00:00
"@types/pg": "^7.14.1",
2019-10-12 15:45:18 +00:00
"@types/pluralize": "0.0.29",
2019-12-18 21:24:05 +00:00
"@types/prettier": "^1.19.0",
"@types/sinon": "^7.5.1",
2020-01-05 19:00:56 +00:00
"@types/sqlite3": "^3.1.6",
"@types/yargs": "^13.0.4",
2020-01-08 20:04:56 +00:00
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"@typescript-eslint/typescript-estree": "^2.15.0",
2019-12-18 21:24:05 +00:00
"array.prototype.flatmap": "^1.2.3",
2019-03-02 11:47:18 +00:00
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"codecov": "^3.6.1",
2019-12-18 21:24:05 +00:00
"dotenv": "^8.2.0",
2020-01-05 19:00:56 +00:00
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
2020-01-05 19:00:56 +00:00
"eslint-config-prettier": "^6.9.0",
2019-12-18 21:24:05 +00:00
"eslint-plugin-import": "^2.19.1",
2020-01-08 20:04:56 +00:00
"husky": "^4.0.1",
2019-12-18 21:24:05 +00:00
"lint-staged": "^9.5.0",
2020-01-05 19:00:56 +00:00
"mocha": "^7.0.0",
2019-08-27 17:54:01 +00:00
"ncp": "^2.0.0",
2020-01-05 19:00:56 +00:00
"nyc": "^15.0.0",
"rimraf": "^3.0.0",
"sinon": "^7.5.0",
2020-01-05 19:00:56 +00:00
"sinon-chai": "^3.4.0",
2019-12-18 21:24:05 +00:00
"ts-node": "^8.5.4"
2019-03-02 11:47:18 +00:00
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier && git update-index --again"
2018-02-04 22:38:43 +00:00
}
2019-06-07 22:12:29 +00:00
},
"nyc": {
"check-coverage": true,
"all": true,
"extension": [
".ts",
".tsx"
],
"lines": "50",
"include": [
"src/**/!(*.test.*).[tj]s?(x)"
]
2019-03-02 11:47:18 +00:00
}
}