npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ember-cli-rails

v2.0.0-rc.1

Published

Package Ember app for Rails Asset Pipeline

Downloads

25

Readme

Rails Asset Wrapper for Ember CLI apps

npm version

This is an Ember addon to build a Rails Asset wrapper for your Ember application which can then be included as a RubyGem without other dependencies in your Rails application.

Demo

This package was used to deploy the landing page on Version Badge

Getting started

If you are using Ember CLI, simply install ember-cli-rails as a dev dependency of your application's package.json:

  npm install ember-cli-rails --save-dev

Usage

Once ember-cli-rails is a dependency, just run your build as usual:

  ember build --environment=production

The RubyGem will be built into the dist directory with the name ember-rails-<app name> matching the name and version you have specified in package.json

You can then distribute this package privately or publicly and include it in your Rails app's Gemfile:

  gem 'ember-rails-app-name'

The generated assets are now available to your Rails pages:

  <%= stylesheet_link_tag 'ember-rails-app-name/vendor' %>
  <%= stylesheet_link_tag 'ember-rails-app-name/application' %>
  ...
  <%= javascript_include_tag 'ember-rails-app-name/vendor' %>
  <%= javascript_include_tag 'ember-rails-app-name/application' %>

Contribution and Improvements

Please submit an issue if we've missed some key functionality or you're seeing problems. Better yet, fork the code, make the changes, and submit a pull request to speed things along.

Submitting updates

If you would like to contribute to this project, just do the following:

  1. Fork the repo on Github.
  2. Add your features and make commits to your forked repo.
  3. Make a pull request to this repo.
  4. Review will be done and changes will be requested.
  5. Once changes are done or no changes are required, pull request will be merged.
  6. The next release will have your changes in it.

Please take a look at the issues page if you want to get started.