Add npm script for watching changes. Clear obsolete dependencies.

This commit is contained in:
Dragory 2018-07-07 14:27:54 +03:00
parent 09d948a0df
commit 30f57dad24
3 changed files with 1390 additions and 229 deletions

5
nodemon.json Normal file
View file

@ -0,0 +1,5 @@
{
"watch": "src",
"ext": "ts",
"exec": "ts-node ./src/index.ts"
}

1595
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -6,6 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "ts-node src/index.ts",
"start-watch": "nodemon",
"precommit": "lint-staged",
"postcommit": "git update-index --again",
"format": "prettier --write \"./**/*.ts\""
@ -20,25 +21,23 @@
"author": "",
"license": "ISC",
"dependencies": {
"@types/cli-table2": "^0.2.1",
"@types/knex": "0.0.64",
"@types/koa": "^2.0.43",
"@types/koa-router": "^7.0.27",
"@types/node": "^8.0.50",
"cli-table3": "^0.5.0",
"dotenv": "^4.0.0",
"eris": "^0.8.6",
"husky": "^0.14.3",
"knex": "^0.14.6",
"knub": "^9.4.3",
"lint-staged": "^7.2.0",
"mariasql": "^0.2.6",
"moment": "^2.20.1",
"prettier": "^1.8.2",
"randomstring": "^1.1.5",
"ts-node": "^3.3.0",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.6.0",
"typescript": "^2.6.1"
},
"devDependencies": {
"nodemon": "^1.17.5",
"lint-staged": "^7.2.0",
"prettier": "^1.8.2",
"husky": "^0.14.3",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.6.0"
}
}