1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-21 23:42:16 +00:00

Fix don't use global TypeScript compiler

This commit is contained in:
snobu
2019-10-02 11:45:41 +03:00
parent da54791cd1
commit 69639b5ab6
3 changed files with 13 additions and 5 deletions

View File

@@ -8,7 +8,9 @@
"description": "Save Microsoft Stream videos for offline enjoyment.",
"main": "destreamer.js",
"scripts": {
"start": "echo Transpiling TypeScript to JavaScript... && tsc && node ./destreamer.js",
"build": "echo Transpiling TypeScript to JavaScript... & node node_modules/typescript/bin/tsc --listEmittedFiles",
"run": "node ./destreamer.js",
"start": "npm run -s build & npm run -s run",
"test": "node ./destreamer.js test"
},
"keywords": [],
@@ -21,6 +23,7 @@
"dependencies": {
"ffmpeg-progressbar-cli": "^1.5.0",
"puppeteer": "^1.19.1",
"terminal-kit": "^1.26.10"
"terminal-kit": "^1.26.10",
"typescript": "^3.6.3"
}
}