Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

add npm script to run local gulp #76

Merged
merged 1 commit into from
Sep 27, 2016
Merged

add npm script to run local gulp #76

merged 1 commit into from
Sep 27, 2016

Conversation

amaldare93
Copy link
Contributor

Addresses "Annoying to run local version of gulp"

Summary of changes:

  • Added an npm script that simply runs the local version of gulp.
    • Instead of typing node_modules/gulp/bin/gulp.js, you can type npm run gulp
    • It also takes arguments the same way as regular gulp, ex: npm run gulp patternlab:serve
    • This has no apparent downsides besides 2 extra lines of logs in every call

gulp default

with params

@bmuenzenmeyer
Copy link
Member

This is a neat trick. I will likely merge this next time I get around to edition fixes / deployment.

Thanks!

@bmuenzenmeyer bmuenzenmeyer merged commit 9eb14c6 into pattern-lab:dev Sep 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants