scripts(): move from nodemon to tsc-watch
This commit is contained in:
parent
1061cd7bb0
commit
7f2dde2d6c
|
|
@ -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"
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"watch": ["dist"],
|
||||
"ext": "js",
|
||||
"exec": "node dist/main"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue