diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2022-05-21 04:22:48 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2022-05-21 04:22:48 +0100 |
commit | fa0a9795708a25bc9f87ee919feb059c8fdef4ab (patch) | |
tree | 17c0130c7fbf2eff0b6c09533a6dd0b4025e8a59 /package.json | |
parent | 640e3354fffd9f05306ca728c5d8c4a73bd76353 (diff) | |
download | lustre-fa0a9795708a25bc9f87ee919feb059c8fdef4ab.tar.gz lustre-fa0a9795708a25bc9f87ee919feb059c8fdef4ab.zip |
:wrench: Add npm script for building docs and putting them in the right place.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
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" }, |