emiloberg / markdown-styleguide-generator

Will search all your (s)css files for comments and generate a single page html styleguide
GNU General Public License v3.0
62 stars 19 forks source link

node_modules/highlight.js is installed in parent folder not under markdown-styleguide-generator/node_modules #10

Open neppoliyant opened 7 years ago

neppoliyant commented 7 years ago

when we install markdown-styleguide-generator its dependency (highlight.js) install on project node_modules but file which is generated by styleguide init contains highlightFolder path project/node_modules/markdown-styleguide-generator/node_modules/markdown-styleguide-generator/node_modules/highlight.js/styles and it throws error while executing styleguide with below message.

Could not read highlight file: {project path}/node_modules/markdown-styleguide-generator/node_modules/highlight.js/styles/github.css

Using npm 3.x

Looks like npm 2.x installs the dependency different compare to 3.x