🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

ember-local-config

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-local-config

Enables local config files for ember-cli apps

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

ember-local-config npm version Build Status

Enables local config files for ember-cli apps that get merged into the main application configuration.

Usage

  • Install the addon in your app by running npm install ember-local-config --save-dev.
  • Generate a local config file by running ember g local-config
  • After committing the generated local config file as a default file, run git update-index --skip-worktree on the config file so that git doesn't pickup local changes to the file.

API

ember-local-config will pickup any file in your config directory that ends with .local.js, attempt to pull out a config object and merge it into the normal app config. You do not need to modify how you consume the regular config.

Local config generator

Running ember g local-config will create an empty config file called config.local.js in your config directory. You can optionally pass a parameter to define the file name. For instance, running ember g local-config my-config will generate my-config.local.js.

Running the dummy app

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

For more information on using ember-cli, visit https://ember-cli.com/.

License

This project is licensed under the MIT License.

Keywords

ember-addon

FAQs

Package last updated on 09 May 2018

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