diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-12-09 22:01:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-09 22:01:24 +0100 |
commit | fef274cac7e5d7f20e487f787a62ba4967650223 (patch) | |
tree | acb4401b79a3f5be6d5e4e2cc3c66c13403f06e0 | |
parent | c3350a17d0ef11b587c2e5cf25c3fc056027645f (diff) | |
parent | fb9a7fd2401d294cb6f25a23544eb7efc0178e14 (diff) |
Merge pull request #444 from puzrin/npm
Added drafts to publish spec in npm, #394
-rw-r--r-- | index.js | 7 | ||||
-rw-r--r-- | package.json | 15 |
2 files changed, 22 insertions, 0 deletions
diff --git a/index.js b/index.js new file mode 100644 index 0000000..6068627 --- /dev/null +++ b/index.js @@ -0,0 +1,7 @@ +'use strict'; + +const fs = require('fs'); +const path = require('path'); + + +exports.text = fs.readFileSync(path.join(__dirname, 'spec.txt'), 'utf8'); diff --git a/package.json b/package.json new file mode 100644 index 0000000..6883746 --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "commonmark-spec", + "version": "-", + "description": "Commonmark spec.", + "keywords": [ + "commonmark", + "markdown" + ], + "repository": "jgm/CommonMark", + "license": "MIT", + "files": [ + "index.js", + "spec.txt" + ] +} |