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

Add script in package.json that run with local gulp #84

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
I am using Pattern Lab Node `vX.X.X` on `Windows|Mac|Linux`, using the `grunt|gulp` configuration.
<!-- before posting an issue, try chatting on https://gitter.im/pattern-lab/node -->
<!-- before posting an issue, please check closed issues: https://github.com/pattern-lab/edition-node-gulp/issues?q=is%3Aissue+is%3Aclosed -->

I am using Pattern Lab Node- Gulp Edition `vX.X.X` on `Windows|Mac|Linux`.

##### Expected Behavior

Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,31 @@ These are some helpful commands you can use on the command line for working with
To list all available commands type:

gulp patternlab:help

or

npm run patternlab:help

### Generate Pattern Lab

To generate the front-end for Pattern Lab type:

gulp patternlab:build

or

npm run patternlab:build

### Watch for changes and re-generate Pattern Lab

To watch for changes, re-generate the front-end, and server it via a BrowserSync server, type:

gulp patternlab:serve

or

npm run patternlab:serve

BrowserSync should open [http://localhost:3000](http://localhost:3000) in your browser.

### Install a StarterKit
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@
"author": "Brian Muenzenmeyer",
"scripts": {
"postinstall": "node scripts/postinstall.js",
"gulp": "gulp -- "
"gulp": "gulp -- ",
"patternlab:build": "gulp patternlab:build",
"patternlab:patternsonly": "gulp patternlab:patternsonly",
"patternlab:version" : "gulp patternlab:version",
"patternlab:help" : "gulp patternlab:help",
"patternlab:liststarterkits": "gulp patternlab:liststarterkits",
"patternlab:loadstarterkit" : "gulp patternlab:loadstarterkit"
},
"license": "MIT",
"engines": {
Expand Down