scripts(): move from nodemon to tsc-watch

This commit is contained in:
Kamil Myśliwiec 2019-07-19 11:40:39 +02:00
parent 1061cd7bb0
commit 7f2dde2d6c
No known key found for this signature in database
GPG Key ID: 75F02E89A1A1092B
4 changed files with 7086 additions and 14 deletions

View File

@ -1,6 +0,0 @@
{
"watch": ["src"],
"ext": "ts",
"ignore": ["src/**/*.spec.ts"],
"exec": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register src/main.ts"
}

View File

@ -1,5 +0,0 @@
{
"watch": ["dist"],
"ext": "js",
"exec": "node dist/main"
}

7083
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -7,8 +7,8 @@
"build": "rimraf dist && tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "concurrently --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
"start:debug": "nodemon --config nodemon-debug.json",
"start:dev": "tsc-watch -p tsconfig.build.json --onSuccess \"node dist/main.js\"",
"start:debug": "tsc-watch -p tsconfig.build.json --onSuccess \"node --inspect-brk dist/main.js\"",
"start:prod": "node dist/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "jest",
@ -35,11 +35,11 @@
"@types/supertest": "2.0.7",
"concurrently": "^4.1.0",
"jest": "24.7.1",
"nodemon": "1.18.11",
"prettier": "1.17.0",
"supertest": "4.0.2",
"ts-jest": "24.0.2",
"ts-node": "8.1.0",
"tsc-watch": "2.2.1",
"tsconfig-paths": "3.8.0",
"tslint": "5.16.0",
"typescript": "3.4.3",