diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2017-12-25 21:14:44 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2017-12-25 21:14:44 +0200 |
| commit | a1c33b51cef94bdec1484aefa3196f733fff123d (patch) | |
| tree | b8c3f8177b408a56d28e347dbcf0d78a09d4796b /package.json | |
| parent | 81d8edc49ca710b959b1cc9a32245154fe82369e (diff) | |
Create build dir if it doesn't exist
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 3 |
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": { |
