diff tasks.py @ 15:7ca4ff2088c3

managed to use a newer ts or something, so this includes a bunch of type fixes too
author drewp@bigasterisk.com
date Sun, 08 Dec 2019 23:32:12 -0800
parents 26d3e4860adc
children 4bf74032e2e8
line wrap: on
line diff
--- a/tasks.py	Fri Dec 06 20:34:01 2019 -0800
+++ b/tasks.py	Sun Dec 08 23:32:12 2019 -0800
@@ -7,7 +7,7 @@
 
 @task
 def serve_demo(ctx):
-    ctx.run('node_modules/webpack-serve/bin/webpack-serve --config webpack-dev.config.ts --port 8082')
+    ctx.run('node_modules/.bin/webpack-dev-server --config webpack-dev.config.ts  --port 8082')
 
 @task
 def build(ctx):
@@ -17,4 +17,5 @@
 
 @task
 def test(ctx):
-    ctx.run(f'node_modules/ts-node/dist/bin.js node_modules/jasmine/bin/jasmine --config=jasmine.json')
\ No newline at end of file
+    ctx.run(f'node_modules/.bin/webpack-cli --config webpack-test.config.ts')
+    ctx.run(f'node_modules/.bin/ts-node node_modules/.bin/jasmine --config=jasmine.json')
\ No newline at end of file