Socket
Book a DemoInstallSign in
Socket

@theforeman/env

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theforeman/env

Development environment for foreman core and plugins

3.12.1-intl.1
latest
Source
npmnpm
Version published
Maintainers
2
Created
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

  • To work with babel first you need to install @theforeman/builder since it contain the production babel configurations.
npm install --save-dev `@theforeman/builder`
  • 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

  • Add this to the test in packge.json:
{
  "test": "tfm-test"
}
  • 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

Package last updated on 01 Jan 2020

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.