New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ember-console

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-console

The default blueprint for ember-cli addons.

latest
Source
npmnpm
Version
0.0.7
Version published
Weekly downloads
4
-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

ember-console

Build Status Build status

get a console (REPL) to you fastboot capable ember-app

WARNING: still experimental, but ideas/help is wanted!

asciicast

Installation

yarn add ember-console

or

npm install ember-console

Usage

  • ensure your app has ember-cli-fastboot >= 1.0.0-rc.1 installed and working
  • build your app ember build
  • run ember console and your app in dist/ is started in fastboot, and a repl to it is opened.

Available repl commands:

  • .help for repl specific commands
  • app
    • currentURL
    • routes
    • rootElement
    • lookup(fullName): enables looking up singletons, for example lookup('router:mian')
    • reload() reloads the app, if a new bulid has occured this can be used to reload new code.
    • visit(path) the fastboot visit helper, allowing you to manually navigate your app
    • instance the fastboot instance
    • sandbox the sandboxed global: for example Object.keys(sandbox.require.entries) will give you all the modules your app uses

** Bonus **

It is also possible to connect the console to a pre-built application (as long as it was built with fastboot)

ember build --output-path my-other-dist`
ember console --output-path my-pther-dist

asciicast

Development

Installation

  • git clone <repository-url> this repository
  • cd ember-console
  • npm install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

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

Keywords

ember-addon

FAQs

Package last updated on 01 Jun 2017

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