You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://gitter.im/pattern-lab/node)
5
5
6
6
# Pattern Lab Node Core
7
7
@@ -40,7 +40,7 @@ For users wanting a more pre-packaged experience several editions are available.
40
40
*[Pattern Lab/Node: Grunt Edition](https://github.com/pattern-lab/edition-node-grunt) contains info how to get started within a Grunt task running environment.
41
41
*[Pattern Lab/Node: Vanilla Edition](https://github.com/pattern-lab/edition-node) contains info how to get started within a pure node environment.
42
42
*[Pattern Lab/Node: Webpack Edition](https://github.com/Comcast/patternlab-edition-node-webpack) contains info how to get started within a webpack environment.
43
-
>Thanks to the team at Comcast for open-sourcing this stellar work!
43
+
>Thanks to the team at Comcast for open-sourcing this stellar work!
44
44
45
45
## Ecosystem
46
46
@@ -52,22 +52,20 @@ Core, and Editions, are part of the [Pattern Lab Ecosystem](http://patternlab.io
52
52
53
53
`patternlab-node` can be required within any Node environment, taking in a configuration file at instantiation.
// build, optionally watching or choosing incremental builds
61
60
patternlab.build({
62
61
cleanPublic:true,
63
-
watch:true
62
+
watch:true,
64
63
});
65
64
66
65
// or build, watch, and then self-host
67
66
patternlab.serve({
68
-
cleanPublic:true
67
+
cleanPublic:true,
69
68
});
70
-
71
69
```
72
70
73
71
* Read more about [configuration](http://patternlab.io/docs/advanced-config-options.html#node) via `patternlab-config.json`.
@@ -76,13 +74,11 @@ patternlab.serve({
76
74
77
75
* A full-featured [command line interface](https://github.com/pattern-lab/patternlab-node-cli) is also available courtesy of [@raphaelokon](https://github.com/raphaelokon).
78
76
79
-
80
77
### Events
81
78
82
79
Many [events](https://github.com/pattern-lab/patternlab-node/wiki/Creating-Plugins#events) are emitted during Pattern Lab operations, originally built to support plugins. Below is a sample, allowing users to be informed of asset or pattern changes.
If you are interested in [contributing to Pattern Lab](https://github.com/pattern-lab/patternlab-node/blob/master/.github/CONTRIBUTING.md), it's suggested to install an Edition of your choice and then run a local copy of this repository via [`npm link`](https://docs.npmjs.com/cli/link).
0 commit comments