# ember-local-config

> Enables local config files for ember-cli apps

Latest version **0.1.0** (published 2018-05-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-local-config
pnpm add ember-local-config
yarn add ember-local-config
bun add ember-local-config
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-05-09 |
| First published | 2015-08-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^4.5 \|\| 6.* \|\| >= 7.* |
| Dependencies | 4 |
| Unpacked size | 219 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Asa Kusuma |
| Maintainers | asakusuma |
| Keywords | ember-addon, config, local, configuration, development |

## Links

- npm: https://www.npmjs.com/package/ember-local-config
- Repository: https://github.com/asakusuma/ember-local-config
- Homepage: https://github.com/asakusuma/ember-local-config#readme
- Issues: https://github.com/asakusuma/ember-local-config/issues
- npm.io page: https://npm.io/package/ember-local-config

## Dependencies (4)

- [merge](https://npm.io/package/merge.md) 1.2.0
- [walk-sync](https://npm.io/package/walk-sync.md) 0.1.3
- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^6.6.0
- [require-relative](https://npm.io/package/require-relative.md) ^0.8.7

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-05-09
- 0.0.3 — 2016-05-11
- 0.0.2 — 2015-08-05
- 0.0.1 — 2015-08-05
- 0.0.0 — 2015-08-04

## README

# ember-local-config [![npm version](https://badge.fury.io/js/ember-local-config.svg)](https://www.npmjs.com/package/ember-local-config) [![Build Status](https://travis-ci.org/asakusuma/ember-local-config.svg?branch=master)](https://travis-ci.org/asakusuma/ember-local-config)

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

## Usage

1. Install the addon in your app by running `npm install ember-local-config --save-dev`.
2. Generate a local config file by running `ember g local-config`
3. After committing the generated local config file as a default file, run [git update-index --skip-worktree](http://git-scm.com/docs/git-update-index) 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

* `ember serve`
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).

---
_Source: https://npm.io/package/ember-local-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
