Skip to content

Commit 68552d4

Browse files
author
Bulfair, Matt
committed
readme for npm registration
1 parent 9d64cbf commit 68552d4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@ There's two options for installing this version:
5353
5454
Running `yarn install` or `npm install` from a directory containing a `package.json` file will download all dependencies defined within. The `yarn.lock` file is automatically managaged everytime you add/remove/upgrade a dependency. Currently `yarn` is faster than `npm` so it's the preferred method of running scripts.
5555
56+
#### Install the Webpack Edition of Pattern Lab Node as a Dependency
57+
58+
Most people want to run Pattern Lab Node standalone and not as a dependency. If you wish to install as a dependency you can do the following:
59+
60+
Use npm's/yarn `install`/`add` command with an argument to install the Webpack Edition into a location of your choosing. In Terminal type:
61+
62+
cd install/location/
63+
npm install edition-node-webpack
64+
65+
This will install the Webpack Edition into a directory called `node_modules` in `install/location/`.
66+
5667
## Getting Started
5768
5869
The Pattern Lab Node - Webpack Edition ships with a [base experience](https://github.com/pattern-lab/starterkit-mustache-base) which serves as clean place to start from scratch with Pattern Lab. But if you want to get rolling with a starterkit of your own, or use the [demo starterkit](https://github.com/pattern-lab/starterkit-mustache-demo) like the one on [demo.patternlab.io](http://demo.patternlab.io), you can do so automatically at time of `yarn install` by adding your starterkit to the `package.json` file.

0 commit comments

Comments
 (0)