@theforeman/vendor-dev
allows to set up evelopment enviorment when working with @theforeman/vendor
Installation
npm install --save-dev @theforeman/vendor-dev
- Adds
@theforeman/vendor-dev/babel.preset.js
to your.babelrc
:
{
"presets": [
"env",
"react"
],
"env": {
"test": {
"presets": ["@theforeman/vendor-dev/babel.preset.js"]
},
"storybook": {
"presets": ["@theforeman/vendor-dev/babel.preset.js"]
}
}
}
- Extend your
.eslintrc
file with@theforeman/vendor-dev/eslint.extends.js
:
{
"plugins": ["patternfly-react"],
"extends": [
"plugin:patternfly-react/recommended",
"./node_modules/@theforeman/vendor-dev/eslint.extends.js"
]
}
Contributing
Please checkout the contributing.md
, the roadmap.md
and the open issues.