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.
  • Loading branch information
addaleax committed May 4, 2016
1 parent b72d048 commit aaff1b4
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
Original file line number Diff line number Diff line change
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 aaff1b4

Please sign in to comment.