Switch from Knex to TypeORM. Update Knub.

This commit is contained in:
Dragory 2018-10-26 06:41:20 +03:00
parent e3ff4cef45
commit f9c16263ae
49 changed files with 1192 additions and 1395 deletions

View file

@ -10,8 +10,7 @@
"precommit": "lint-staged",
"postcommit": "git update-index --again",
"format": "prettier --write \"./**/*.ts\"",
"db-migrate": "knex migrate:latest",
"db-rollback": "knex migrate:rollback"
"typeorm": "ts-node ./node_modules/typeorm/cli.js"
},
"lint-staged": {
"*.ts": [
@ -23,34 +22,35 @@
"author": "",
"license": "ISC",
"dependencies": {
"@types/knex": "0.0.64",
"@types/lodash.at": "^4.6.3",
"@types/moment-timezone": "^0.5.6",
"@types/node": "^8.0.50",
"dotenv": "^4.0.0",
"emoji-regex": "^7.0.0",
"eris": "^0.8.6",
"escape-string-regexp": "^1.0.5",
"humanize-duration": "^3.15.0",
"knex": "0.12.6",
"knub": "^10.1.0",
"js-yaml": "^3.12.0",
"knub": "^12.1.1",
"lodash.at": "^4.6.0",
"lodash.chunk": "^4.2.0",
"lodash.difference": "^4.5.0",
"lodash.intersection": "^4.4.0",
"lodash.isequal": "^4.5.0",
"moment-timezone": "^0.5.21",
"mysql2": "^1.6.0",
"mysql": "^2.16.0",
"reflect-metadata": "^0.1.12",
"tlds": "^1.203.1",
"ts-node": "^3.3.0",
"typescript": "^2.9.2",
"typeorm": "^0.2.8",
"typescript": "^3.1.3",
"uuid": "^3.3.2"
},
"devDependencies": {
"nodemon": "^1.17.5",
"lint-staged": "^7.2.0",
"prettier": "^1.8.2",
"@types/node": "^10.12.0",
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"nodemon": "^1.17.5",
"prettier": "^1.8.2",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.6.0"
}