diff --git a/README.md b/README.md index b55597d..bc4e30e 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,12 @@ If it gets included in another pattern, the wrapper is not added. This comes in handy if you, for example, use theming classes to visualize different backgrounds, colors etc. +## Install + +``` +npm i @hadl/patternlab-plugin-pattern-wrap -D +``` + ## Configuration After the installation, you will see the config in your `patternlab-config.json`: @@ -25,7 +31,7 @@ After the installation, you will see the config in your `patternlab-config.json` If you don't see this config object, add the plugin via the command: ``` -patternlab install --plugins @hadl/patternlab-plugin-pattern-wrap +npx patternlab install --plugins @hadl/patternlab-plugin-pattern-wrap ``` In the `wrapClassKey` array you can add the data keys which should be used to get the class names. diff --git a/helpers.js b/helpers.js index 1ff0e47..8d30f92 100644 --- a/helpers.js +++ b/helpers.js @@ -3,7 +3,7 @@ * @return {string} */ function getPluginName() { - return 'patternlab-plugin-pattern-wrap'; + return '@hadl/patternlab-plugin-pattern-wrap'; } /** diff --git a/package.json b/package.json index 1b15897..fd1344a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hadl/patternlab-plugin-pattern-wrap", - "version": "1.0.1", + "version": "1.0.2", "description": "Pattern Wrapper Plugin for Pattern Lab Node", "main": "index.js", "scripts": {