aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2017-12-25 21:14:44 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2017-12-25 21:14:44 +0200
commita1c33b51cef94bdec1484aefa3196f733fff123d (patch)
treeb8c3f8177b408a56d28e347dbcf0d78a09d4796b
parent81d8edc49ca710b959b1cc9a32245154fe82369e (diff)
Create build dir if it doesn't exist
-rw-r--r--package.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/package.json b/package.json
index 19f6e3c..147a036 100644
--- a/package.json
+++ b/package.json
@@ -1,11 +1,10 @@
{
"name": "jan.systems",
"version": "1.0.0",
- "main": "index.js",
"author": "Jan Tuomi <jans.tuomi@gmail.com>",
"license": "MIT",
"scripts": {
- "build": "cp src/index.html src/style.css build/ && riot src build/bundle.js",
+ "build": "mkdir -p build && cp src/index.html src/style.css build/ && riot src build/bundle.js",
"start": "caddy"
},
"dependencies": {