From fb9a7fd2401d294cb6f25a23544eb7efc0178e14 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Fri, 9 Dec 2016 14:16:41 +0300 Subject: Added drafts to publish spec in npm, #394 --- index.js | 7 +++++++ package.json | 15 +++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 index.js create mode 100644 package.json 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" + ] +} -- cgit v1.2.3