Socket
Socket
Sign inDemoInstall

@theforeman/env

Package Overview
Dependencies
12
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @theforeman/env

Development environment for foreman core and plugins


Version published
Maintainers
2
Created

Readme

Source

@theforeman/env

Development environment for foreman core and plugins

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

What you get with this project

  • @theforeman/env/babel - Adds theforeman babel dev configuration to your project.
  • @theforeman/env/test - Adds theforeman testing tools to you project.

Installation

npm install --save-dev @theforeman/env

Install @theforeman/env/babel

  1. To work with babel first you need to install @theforeman/builder since it contain the production babel configurations.
npm install --save-dev `@theforeman/builder`
  1. Create a .babelrc.js file in your project root with the following content.
module.exports = {
  presets: ['@theforeman/builder/babel'],
};

@theforeman/builder/babel will automatically load @theforeman/env/babel for none production environments.

install @theforeman/env/test

  1. Add this to the test in packge.json:
{
  "test": "tfm-test"
}
  1. create a test_helper.js under /webpack for extending global mocks if needed

Contributing

Please checkout the contributing.md, the roadmap.md and the open issues.

FAQs

Last updated on 01 Jan 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc