1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2026-03-24 02:43:03 +00:00

add attach debug configuration

- Attach debug configuration
- Scripts: debug, serve-debug, watch-debug
- Readme
This commit is contained in:
ThanhTDT
2017-07-27 21:09:17 +07:00
parent 26706d08d5
commit f8141a0b06
4 changed files with 16 additions and 3 deletions

View File

@@ -19,7 +19,10 @@
"build-sass": "node-sass src/public/css/main.scss dist/public/css/main.css",
"watch-sass": "node-sass -w src/public/css/main.scss dist/public/css/main.css",
"tslint": "tslint -c tslint.json -p tsconfig.json",
"copy-static-assets": "node copyStaticAssets.js"
"copy-static-assets": "node copyStaticAssets.js",
"debug": "npm run build && npm run watch-debug",
"serve-debug": "nodemon --inspect dist/server.js",
"watch-debug": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"npm run serve-debug\""
},
"jest": {
"globals": {
@@ -93,4 +96,4 @@
"tslint": "^5.0.0",
"typescript": "^2.4.0"
}
}
}