include stderr in log file

This commit is contained in:
Pieter Vander Vennet 2023-01-15 12:35:24 +01:00 committed by GitHub
parent c18149c7e2
commit 6b3e84aa76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@
"build": "tsc", "build": "tsc",
"lint": "tslint --project ./tsconfig.json -t stylish", "lint": "tslint --project ./tsconfig.json -t stylish",
"start": "ts-node src/index.ts", "start": "ts-node src/index.ts",
"daily": "ts-node src/index.ts | tee -a log_`date --iso-8601`.txt", "daily": "ts-node src/index.ts |& tee -a log_`date --iso-8601`.txt",
"test": "doctest-ts-improved src/ && mocha --require ts-node/register \"./**/*.doctest.ts\" && (find . -type f -name \"*.doctest.ts\" | xargs rm)" "test": "doctest-ts-improved src/ && mocha --require ts-node/register \"./**/*.doctest.ts\" && (find . -type f -name \"*.doctest.ts\" | xargs rm)"
}, },
"dependencies": { "dependencies": {