Skip to content

Commit

Permalink
tools: add mock-y js-yaml dependency to doctool
Browse files Browse the repository at this point in the history
Add a hack js-yaml module to the doctool dependencies that simply
loads the one that’s included with eslint.

This helps avoiding to check in the whole dependency tree into
the core repo.

PR-URL: #6495
Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
  • Loading branch information
addaleax authored and evanlucas committed May 17, 2016
1 parent 7a6d2ad commit a568ad4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions tools/doc/node_modules/js-yaml/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion tools/doc/package.json
Expand Up @@ -7,7 +7,8 @@
"node": ">=0.6.10"
},
"dependencies": {
"marked": "~0.1.9"
"marked": "~0.1.9",
"js-yaml": "^3.5.2"
},
"devDependencies": {},
"optionalDependencies": {},
Expand Down

0 comments on commit a568ad4

Please sign in to comment.