From fa0a9795708a25bc9f87ee919feb059c8fdef4ab Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Sat, 21 May 2022 04:22:48 +0100 Subject: :wrench: Add npm script for building docs and putting them in the right place. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2f4bf18..be311bc 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "scripts": { "clean": "rm -rf build dist", "build": "gleam test && parcel build test/example/index.html", + "docs": "gleam build docs && cp -a ./build/dev/docs/lustre/. ./docs/", "start": "gleam test && concurrently --kill-others \"chokidar \"src/*\" \"test/example/*\" -c \\\"gleam test\\\"\" \"parcel test/example/index.html\"", "start:clean": "npm run clean && npm start" }, -- cgit v1.2.3