Add npm script for watching changes. Clear obsolete dependencies.
This commit is contained in:
parent
09d948a0df
commit
30f57dad24
3 changed files with 1390 additions and 229 deletions
5
nodemon.json
Normal file
5
nodemon.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"watch": "src",
|
||||||
|
"ext": "ts",
|
||||||
|
"exec": "ts-node ./src/index.ts"
|
||||||
|
}
|
1595
package-lock.json
generated
1595
package-lock.json
generated
File diff suppressed because it is too large
Load diff
19
package.json
19
package.json
|
@ -6,6 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"start": "ts-node src/index.ts",
|
"start": "ts-node src/index.ts",
|
||||||
|
"start-watch": "nodemon",
|
||||||
"precommit": "lint-staged",
|
"precommit": "lint-staged",
|
||||||
"postcommit": "git update-index --again",
|
"postcommit": "git update-index --again",
|
||||||
"format": "prettier --write \"./**/*.ts\""
|
"format": "prettier --write \"./**/*.ts\""
|
||||||
|
@ -20,25 +21,23 @@
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/cli-table2": "^0.2.1",
|
|
||||||
"@types/knex": "0.0.64",
|
"@types/knex": "0.0.64",
|
||||||
"@types/koa": "^2.0.43",
|
|
||||||
"@types/koa-router": "^7.0.27",
|
|
||||||
"@types/node": "^8.0.50",
|
"@types/node": "^8.0.50",
|
||||||
"cli-table3": "^0.5.0",
|
|
||||||
"dotenv": "^4.0.0",
|
"dotenv": "^4.0.0",
|
||||||
"eris": "^0.8.6",
|
"eris": "^0.8.6",
|
||||||
"husky": "^0.14.3",
|
|
||||||
"knex": "^0.14.6",
|
"knex": "^0.14.6",
|
||||||
"knub": "^9.4.3",
|
"knub": "^9.4.3",
|
||||||
"lint-staged": "^7.2.0",
|
|
||||||
"mariasql": "^0.2.6",
|
"mariasql": "^0.2.6",
|
||||||
"moment": "^2.20.1",
|
"moment": "^2.20.1",
|
||||||
"prettier": "^1.8.2",
|
|
||||||
"randomstring": "^1.1.5",
|
|
||||||
"ts-node": "^3.3.0",
|
"ts-node": "^3.3.0",
|
||||||
"tslint": "^5.8.0",
|
|
||||||
"tslint-config-prettier": "^1.6.0",
|
|
||||||
"typescript": "^2.6.1"
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue