DEV Community

Cover image for Ember-cli config
Michal Bryxí
Michal Bryxí

Posted on • Edited on

5

Ember-cli config

Ember pioneered the standardised usage of global cli tool. This is a perfect way to give new users a good onboarding experience as well as existing users power tools for daily usage.

Config for ember-cli lives in ~/.ember-cli and is merged with my-project/.ember-cli file, if applicable.

The format of .ember-cli file is as follows:

Command line options are passed in a dasherized form on the command line but they must be in camel cased in .ember-cli.

So you can run ember help in your terminal and then use the formula above to convert the cli options to config file options.

Example

This is the global ~/.ember-cli I'm using in my setup:

{
  "welcome": false,
  "packageManager": "pnpm",
  "embroider": true,
  "typescript": true
}
Enter fullscreen mode Exit fullscreen mode

Title image generated by Midjourney via prompt: Command line ninja; The ninja is actually a hamster; --ar 16:9

SurveyJS custom survey software

Build Your Own Forms without Manual Coding

SurveyJS UI libraries let you build a JSON-based form management system that integrates with any backend, giving you full control over your data with no user limits. Includes support for custom question types, skip logic, an integrated CSS editor, PDF export, real-time analytics, and more.

Learn more

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series