From cb8e7c09d70624aa4174fcf94d33f1d0c4a3c163 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 13 Jan 2015 03:49:41 -0700 Subject: [PATCH] separating deardesi/desirae --- lib/frontmatter.js | 3 +-- package.json | 16 ++-------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/lib/frontmatter.js b/lib/frontmatter.js index fc4acb5..12dd688 100644 --- a/lib/frontmatter.js +++ b/lib/frontmatter.js @@ -4,8 +4,7 @@ window.YAML = window.YAML || {}; window.YAML.parse = exports.jsyaml.load || require('jsyaml').load; - //YAML.parse = require('yaml').eval; - //YAML.parse2 = require('yamljs').parse; + window.YAML.stringify = exports.jsyaml.dump || require('jsyaml').dump; function readFrontMatter(text) { var lines diff --git a/package.json b/package.json index a01aa4d..41855d3 100644 --- a/package.json +++ b/package.json @@ -30,27 +30,15 @@ "homepage": "https://github.com/coolaj86/deardesi", "dependencies": { "bluebird": "^2.5.3", - "body-parser": "^1.10.1", - "circular-json": "^0.1.6", - "compression": "^1.3.0", - "connect": "^3.3.3", - "connect-query": "^0.2.0", - "connect-send-json": "^1.0.0", "escape-string-regexp": "^1.0.2", "foreachasync": "^5.0.5", "fs.extra": "^1.2.1", - "json2yaml": "^1.0.3", - "markdown": "^0.5.0", + "js-yaml": "^3.2.5", "markdown-it": "^3.0.2", "mkdirp": "^0.5.0", "mustache": "^1.0.0", "node-uuid": "^1.4.2", - "require-yaml": "0.0.1", - "require-yamljs": "^1.0.1", "secret-utils": "^1.0.2", - "serve-static": "^1.7.2", - "walk": "^2.3.9", - "yaml": "^0.2.3", - "yamljs": "^0.2.1" + "walk": "^2.3.9" } }