Skip to content

Fix usage as a local dependency #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 18, 2016
Merged

Fix usage as a local dependency #19

merged 1 commit into from
Sep 18, 2016

Conversation

anri-asaturov
Copy link
Contributor

With this changes diff2html-cli supports local dependency style of usage.
Example:
1 - install package locally

npm i -D diff2html-cli

2 - add a script to package.json:

scripts: {
  'show-diff': 'diff2html -- -M HEAD~1'
}

3 - then run in console

npm run show-diff

Copy link
Owner

@rtfpessoa rtfpessoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@rtfpessoa rtfpessoa merged commit 70ed11d into rtfpessoa:master Sep 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants