aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2022-05-21 04:22:48 +0100
committerHayleigh Thompson <me@hayleigh.dev>2022-05-21 04:22:48 +0100
commitfa0a9795708a25bc9f87ee919feb059c8fdef4ab (patch)
tree17c0130c7fbf2eff0b6c09533a6dd0b4025e8a59
parent640e3354fffd9f05306ca728c5d8c4a73bd76353 (diff)
downloadlustre-fa0a9795708a25bc9f87ee919feb059c8fdef4ab.tar.gz
lustre-fa0a9795708a25bc9f87ee919feb059c8fdef4ab.zip
:wrench: Add npm script for building docs and putting them in the right place.
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
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"
},