From b082c40637c39f4ef4b8ec4942c9872f9f5b1389 Mon Sep 17 00:00:00 2001 From: Franz Josef Kaiser Date: Sun, 6 Nov 2016 00:21:19 +0100 Subject: [PATCH] Fix: Update build scripts and make them working, see #27 --- package.json | 6 +++--- scripts/{scripts => js} | 0 scripts/watch | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename scripts/{scripts => js} (100%) diff --git a/package.json b/package.json index 8836d39..2ae15d5 100755 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "analyze" : true, "bin" : "./bin", "devDependencies" : { - "watch" : "~0.13", - "concat-cli" : "~1.0", - "minify" : "~1.4" + "watch" : "~1.0", + "concat-cli" : "~4.0", + "minify" : "~2.0" }, "scripts" : { "build:watch" : "sh ./scripts/watch", diff --git a/scripts/scripts b/scripts/js similarity index 100% rename from scripts/scripts rename to scripts/js diff --git a/scripts/watch b/scripts/watch index 3585777..1efdd94 100644 --- a/scripts/watch +++ b/scripts/watch @@ -1,2 +1,2 @@ #!/usr/bin/env bash -watch "npm run build" assets/src \ No newline at end of file +watch "$(<./scripts/js) $(<./scripts/css)" assets/src \ No newline at end of file