commit 1d56f677c9335faf1eff62ebab5ce8f70ba63d7b
parent 856118cbd289336d40bc2817213970e087769aef
Author: Bob Haugen <bob.haugen@gmail.com>
Date: Thu, 8 Oct 2015 05:48:53 -0500
Merge pull request #44 from valueflows/build-index
build README.md here into index.html for valueflo.ws
Diffstat:
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -1,4 +1,4 @@
-# Value Flows vocab
+# [Value Flows vocab](https://github.com/valueflows/valueflows)
This is the "parent" repository for a set of interconnected vocabularies to describe flows of economic resources of all kinds within distributed economic ecosystems.
diff --git a/package.json b/package.json
@@ -0,0 +1,16 @@
+{
+ "scripts": {
+ "build": "mkdir -p .build && npm run build-index",
+ "build-index": "mdast -u mdast-slug -u mdast-autolink-headings -u mdast-html README.md -o .build/index.html",
+ "deploy-remote": "git remote add deploy git@github.com:valueflows/valueflo.ws; true",
+ "deploy-push": "git-directory-deploy --directory .build --repo deploy --branch master --verbose --ignore-removal",
+ "deploy": "npm run build && npm run deploy-remote && npm run deploy-push"
+ },
+ "dependencies": {
+ "git-directory-deploy": "git://github.com/ahdinosaur/git-directory-deploy#4d7ba873bdf77f73db40635364576d89239c7e97",
+ "mdast": "^2.1.0",
+ "mdast-autolink-headings": "^1.0.0",
+ "mdast-html": "^1.2.1",
+ "mdast-slug": "^2.0.0"
+ }
+}