diff options
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/package.json b/package.json index 147a036..5f6c6db 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,19 @@ "author": "Jan Tuomi <jans.tuomi@gmail.com>", "license": "MIT", "scripts": { - "build": "mkdir -p build && cp src/index.html src/style.css build/ && riot src build/bundle.js", - "start": "caddy" + "build": "riot src/components src/tags.js && parcel build --public-url=./ src/index.html", + "start": "yarn watch", + "watch": "yarn watch:riot & yarn watch:parcel", + "watch:riot": "riot -w src/components src/tags.js", + "watch:parcel": "parcel src/index.html" }, "dependencies": { "node-sass": "^4.7.2", "riot": "^3.7.4" + }, + "devDependencies": { + "babel-core": "^6.26.0", + "parcel-bundler": "^1.6.2", + "watch": "^1.0.2" } } |
