Add markdown readme to npmjs

This commit is contained in:
Marko Korhonen 2023-11-14 18:42:06 +02:00
parent 6f63bb33b0
commit 518d1f5605
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
node_modules/ node_modules/
target/ target/
README.md

View file

@ -1,3 +1,5 @@
.PHONY: build clean update-npmjs-readme
build: node_modules build: node_modules
npm run build npm run build
@ -6,3 +8,7 @@ node_modules:
clean: clean:
rm -r target node_modules rm -r target node_modules
update-npmjs-readme:
asciidoctor -b docbook -o target/README.xml README.adoc
pandoc -f docbook -t markdown_strict target/README.xml -o README.md