@theforeman/vendor-dev

foreman supported 3rd-party node_modules

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@theforeman/vendor-dev
95112.0.0a month ago4 years agoMinified + gzip package size for @theforeman/vendor-dev in KB

Readme

@theforeman/vendor-dev
allows to set up evelopment enviorment when working with @theforeman/vendor

Package Version Downloads Status Build Status: Linux PRs Welcome code style: prettier

Installation

npm install --save-dev @theforeman/vendor-dev

  1. 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"]
    }
  }
}

  1. 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.