diff --git a/nodecg-io-ahk/package.json b/nodecg-io-ahk/package.json index b3a93ee0f..c9cdf278b 100644 --- a/nodecg-io-ahk/package.json +++ b/nodecg-io-ahk/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/derNiklaas" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-core/package.json b/nodecg-io-core/package.json index bf6094426..e549cff40 100644 --- a/nodecg-io-core/package.json +++ b/nodecg-io-core/package.json @@ -8,8 +8,9 @@ "url": "http://codeoverflow.org" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-discord/package.json b/nodecg-io-discord/package.json index 24f79b331..e3267d89a 100644 --- a/nodecg-io-discord/package.json +++ b/nodecg-io-discord/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/noeppi-noeppi" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-intellij/package.json b/nodecg-io-intellij/package.json index 9decad253..06fe728fd 100644 --- a/nodecg-io-intellij/package.json +++ b/nodecg-io-intellij/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/noeppi-noeppi" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-irc/package.json b/nodecg-io-irc/package.json index 783bdee01..58ae295a0 100644 --- a/nodecg-io-irc/package.json +++ b/nodecg-io-irc/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/ExtremTechniker" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-midi-input/package.json b/nodecg-io-midi-input/package.json index cbe8edd8c..f56696970 100644 --- a/nodecg-io-midi-input/package.json +++ b/nodecg-io-midi-input/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/noeppi-noeppi" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-midi-output/package.json b/nodecg-io-midi-output/package.json index 9a91f990c..e7c383393 100644 --- a/nodecg-io-midi-output/package.json +++ b/nodecg-io-midi-output/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/noeppi-noeppi" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-obs/package.json b/nodecg-io-obs/package.json index ee88da3c1..657f5da40 100644 --- a/nodecg-io-obs/package.json +++ b/nodecg-io-obs/package.json @@ -5,8 +5,9 @@ "homepage": "", "contributor": "derNiklaas", "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "files": [ "dashboard", diff --git a/nodecg-io-philipshue/package.json b/nodecg-io-philipshue/package.json index d337f9c8e..802a86d85 100644 --- a/nodecg-io-philipshue/package.json +++ b/nodecg-io-philipshue/package.json @@ -8,8 +8,9 @@ "url": "https://thecrether.at" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "nodecg-bundle" diff --git a/nodecg-io-rcon/package.json b/nodecg-io-rcon/package.json index e27175365..cbda735db 100644 --- a/nodecg-io-rcon/package.json +++ b/nodecg-io-rcon/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/derNiklaas" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-sacn-receiver/package.json b/nodecg-io-sacn-receiver/package.json index 45e45fa5a..3fbbf19ec 100644 --- a/nodecg-io-sacn-receiver/package.json +++ b/nodecg-io-sacn-receiver/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/Tim-Tech-Dev" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-sacn-sender/package.json b/nodecg-io-sacn-sender/package.json index a573b64a2..a19250e26 100644 --- a/nodecg-io-sacn-sender/package.json +++ b/nodecg-io-sacn-sender/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/Tim-Tech-Dev" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-slack/package.json b/nodecg-io-slack/package.json index efd765954..90be40e79 100644 --- a/nodecg-io-slack/package.json +++ b/nodecg-io-slack/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/ExtremTechniker" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-spotify/package.json b/nodecg-io-spotify/package.json index d9614859d..e3e20228f 100644 --- a/nodecg-io-spotify/package.json +++ b/nodecg-io-spotify/package.json @@ -8,8 +8,9 @@ "url": "http://codeoverflow.org" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-streamdeck/package.json b/nodecg-io-streamdeck/package.json index c223cdd0b..d0cf273a2 100644 --- a/nodecg-io-streamdeck/package.json +++ b/nodecg-io-streamdeck/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/noeppi-noeppi" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-streamelements/package.json b/nodecg-io-streamelements/package.json index 5a3f53e18..423bd4702 100644 --- a/nodecg-io-streamelements/package.json +++ b/nodecg-io-streamelements/package.json @@ -9,8 +9,9 @@ "derNiklaas" ], "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "files": [ "dashboard", diff --git a/nodecg-io-telegram/package.json b/nodecg-io-telegram/package.json index 5e5cc6570..a8195b89a 100644 --- a/nodecg-io-telegram/package.json +++ b/nodecg-io-telegram/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/derNiklaas" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-twitch/package.json b/nodecg-io-twitch/package.json index 6fefab842..464af3682 100644 --- a/nodecg-io-twitch/package.json +++ b/nodecg-io-twitch/package.json @@ -8,8 +8,9 @@ "url": "http://codeoverflow.org" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-twitter/package.json b/nodecg-io-twitter/package.json index 0a9b696f4..ca2118b11 100644 --- a/nodecg-io-twitter/package.json +++ b/nodecg-io-twitter/package.json @@ -8,8 +8,9 @@ "url": "http://codeoverflow.org" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-websocket-client/package.json b/nodecg-io-websocket-client/package.json index 2a02f3950..ee2168329 100644 --- a/nodecg-io-websocket-client/package.json +++ b/nodecg-io-websocket-client/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/derNiklaas" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-websocket-server/package.json b/nodecg-io-websocket-server/package.json index 6a5c05a04..ea3d1f19e 100644 --- a/nodecg-io-websocket-server/package.json +++ b/nodecg-io-websocket-server/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/derNiklaas" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-xdotool/package.json b/nodecg-io-xdotool/package.json index 1f8b596cd..d41e4e7e7 100644 --- a/nodecg-io-xdotool/package.json +++ b/nodecg-io-xdotool/package.json @@ -8,8 +8,9 @@ "url": "https://github.com/noeppi-noeppi" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/nodecg-io-youtube/package.json b/nodecg-io-youtube/package.json index 9d1dae5d4..5f61e593f 100644 --- a/nodecg-io-youtube/package.json +++ b/nodecg-io-youtube/package.json @@ -8,8 +8,9 @@ "url": "http://codeoverflow.org" }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "keywords": [ "", diff --git a/package.json b/package.json index f09c49714..14334cf8a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,9 @@ "private": true, "scripts": { "bootstrap": "lerna bootstrap --hoist --nohoist monaco-editor", - "build": "lerna run build --parallel", + "clean": "lerna run --parallel clean", + "build": "lerna run --stream build", + "rebuild": "npm run clean && npm run build", "watch": "lerna run --parallel watch", "lint": "eslint . --ext ts", "format": "prettier --write \"./**/*.{ts,html,css,json}\"" diff --git a/samples/ahk-sendcommand/package.json b/samples/ahk-sendcommand/package.json index 5ba218fd6..83fa22473 100644 --- a/samples/ahk-sendcommand/package.json +++ b/samples/ahk-sendcommand/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/discord-guild-chat/package.json b/samples/discord-guild-chat/package.json index 2d0610c50..046434a6c 100644 --- a/samples/discord-guild-chat/package.json +++ b/samples/discord-guild-chat/package.json @@ -14,8 +14,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/intellij-integration/package.json b/samples/intellij-integration/package.json index 0c5c21175..0e7ef2589 100644 --- a/samples/intellij-integration/package.json +++ b/samples/intellij-integration/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/midi-input/package.json b/samples/midi-input/package.json index 602c3593c..22a49a8e1 100644 --- a/samples/midi-input/package.json +++ b/samples/midi-input/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w", + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean", "list": "node helperscripts/listDevices.js" }, "license": "MIT", diff --git a/samples/midi-io/package.json b/samples/midi-io/package.json index 2762241a8..21a1f3f1b 100644 --- a/samples/midi-io/package.json +++ b/samples/midi-io/package.json @@ -9,8 +9,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w", + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean", "list": "node ../midi-input/helperscripts/listDevices.js" }, "license": "MIT", diff --git a/samples/midi-output/package.json b/samples/midi-output/package.json index 66d97f724..bc3f3c4ab 100644 --- a/samples/midi-output/package.json +++ b/samples/midi-output/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w", + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean", "list": "node ../midi-input/helperscripts/listDevices.js" }, "license": "MIT", diff --git a/samples/obs-scenelist/package.json b/samples/obs-scenelist/package.json index 8a453208c..4ea1aa0f3 100644 --- a/samples/obs-scenelist/package.json +++ b/samples/obs-scenelist/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/philipshue-lights/package.json b/samples/philipshue-lights/package.json index ff4acdead..6da2b8526 100644 --- a/samples/philipshue-lights/package.json +++ b/samples/philipshue-lights/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/sacn-receiver-sample/package.json b/samples/sacn-receiver-sample/package.json index 31c935759..21868efb7 100644 --- a/samples/sacn-receiver-sample/package.json +++ b/samples/sacn-receiver-sample/package.json @@ -14,8 +14,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/slack-post/package.json b/samples/slack-post/package.json index 1e9f52b7a..dc5451337 100644 --- a/samples/slack-post/package.json +++ b/samples/slack-post/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/streamdeck-rainbow/package.json b/samples/streamdeck-rainbow/package.json index 8394ee285..d20e3d4c2 100644 --- a/samples/streamdeck-rainbow/package.json +++ b/samples/streamdeck-rainbow/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/streamelements-events/package.json b/samples/streamelements-events/package.json index f1e1764b0..cb625c6db 100644 --- a/samples/streamelements-events/package.json +++ b/samples/streamelements-events/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/telegram-bot/package.json b/samples/telegram-bot/package.json index a65aaaab8..5c525b304 100644 --- a/samples/telegram-bot/package.json +++ b/samples/telegram-bot/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/twitch-chat/package.json b/samples/twitch-chat/package.json index 742716529..e92e90c5d 100644 --- a/samples/twitch-chat/package.json +++ b/samples/twitch-chat/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/twitter-timeline/package.json b/samples/twitter-timeline/package.json index d76351cdf..8f05344bf 100644 --- a/samples/twitter-timeline/package.json +++ b/samples/twitter-timeline/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/websocket-server/package.json b/samples/websocket-server/package.json index 8578981ae..7421ca46f 100644 --- a/samples/websocket-server/package.json +++ b/samples/websocket-server/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/xdotool-windowminimize/package.json b/samples/xdotool-windowminimize/package.json index 326f14d01..50dd99c7f 100644 --- a/samples/xdotool-windowminimize/package.json +++ b/samples/xdotool-windowminimize/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": { diff --git a/samples/youtube-playlist/package.json b/samples/youtube-playlist/package.json index d4a9231a1..ad2f8e6bc 100644 --- a/samples/youtube-playlist/package.json +++ b/samples/youtube-playlist/package.json @@ -8,8 +8,9 @@ } }, "scripts": { - "build": "tsc", - "watch": "tsc -w" + "build": "tsc -b", + "watch": "tsc -b -w", + "clean": "tsc -b --clean" }, "license": "MIT", "dependencies": {