@theforeman/env v3.12.1-intl.1
@theforeman/env
Development environment for foreman core and plugins
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/envInstall @theforeman/env/babel
- To work with
babelfirst you need to install@theforeman/buildersince it contain the productionbabelconfigurations.
npm install --save-dev `@theforeman/builder`- Create a
.babelrc.jsfile in your project root with the following content.
module.exports = {
presets: ['@theforeman/builder/babel'],
};
@theforeman/builder/babelwill automatically load@theforeman/env/babelfor none production environments.
install @theforeman/env/test
- Add this to the
testinpackge.json:
{
"test": "tfm-test"
}- create a
test_helper.jsunder/webpackfor extending global mocks if needed
Contributing
Please checkout the contributing.md, the roadmap.md and the open issues.
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago