From 5f3eb357dfb58021199252d783151a533e4d4603 Mon Sep 17 00:00:00 2001 From: Carl-Erik Kopseng Date: Sat, 13 Oct 2018 11:18:33 +0200 Subject: [PATCH] Add NPM run scripts for building docs Hard to remember the right incantations --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index f8ef35a0c..ba384c4cd 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,8 @@ "build": "run-p build-*", "build-bundle": "node ./build.js", "build-esm": "rollup -c", + "build-docs": "cd docs; bundle exec jekyll build", + "serve-docs": "cd docs; bundle exec jekyll serve --incremental --verbose", "lint": "run-p lint-js lint-markdown", "lint-js": "eslint '**/*.{js,mjs}'", "lint-markdown": "find docs -type f -name '*.md' ! -name 'changelog.md' | xargs markdownlint",