Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-emblem

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-emblem

An ember-cli addon for Emblem.js templates.

  • 0.12.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
417
increased by29.91%
Maintainers
5
Weekly downloads
 
Created
Source

Circle CI Dependency Status devDependency Status

Ember-cli-emblem

This is an ember-cli addon that brings support for Emblem.js templates.

This printer is based on version 0.5.0+ of Emblem. It compiles .embl, .emblem and .em templates into Handlebars-syntax templates which will then be compiled as standard .hbs templates by ember-cli.

Consequently, this addon should be compatible with old versions of Ember regardless of its template dependency, and support newer (HTMLBars) template compilation in ember-cli.

Supporting Ember 1.9.x projects / Handlebars 2.0

The emblem dependency jump from 0.5.x to 0.6.x is breaking change for projects that use Ember 1.9.x, and through ember-cli: ember-cli-htmlbars 0.6.x Use ember-cli-emblem v0.2.x for Handlebars 2.0 support.

Installation

If you are using the broccoli-emblem-compiler it should be removed before using this addon: npm uninstall --save-dev broccoli-emblem-compiler.

  • ember install ember-cli-emblem

Blueprints

ember-cli-emblem supports blueprint generation for routes, components, and templates. Use the ember generate command to add new Emblem templates.

Options

ember-cli-emblem exposes a few instrumentation options for Emblem:

  • blueprints: false if true, will disable blueprint generation. (default: false);
  • quiet: false if true, will quiet Emblem's deprecation notices. (default: false)
  • debugging: false if true, will output the handlebars output of Emblem to STDOUT. (default: false)

Simply add these to your config/environment.js:

ENV.emblemOptions {
  blueprints: false
}

Ember-CLI support

  • Versions 0.1.x: supported
  • Versions 0.2.x: supported

Keywords

FAQs

Package last updated on 28 Jan 2019

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc