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

generator-oss-component

v0.2.21

Published

generator for open source components

Downloads

6

Readme

generator-oss-component for Yeoman

npm version npm downloads

Build Status Coverage Status Code Climate bitHound Score

Dependency Status Dev Dependency Status

Overview

This yeoman generator will prompt you the following questions:

  • What is the component name?
  • What description do you want to give for the component?
  • What is your organization name?
  • What is your organization type?
  • There is a Floobits workspace for this repo (Development Real-time Collaboration)?
  • do you want to add SauceLabs (Cross Browser Testing)?
  • do you want to add Travis (Continuous Integration) support?
  • do you want to add Code Quality support (choose none, Code Climate or bithound)?
  • do you want to add David (Dependency Management) support?

Usage

Install via npm

npm install -g generator-oss-component

or (avoiding npm install and gulp test)

npm install -g generator-oss-component --skip-install

Run Automated Tests

We automatically test every release against node versions 0.10, 0.11, 0.12, and iojs-v2. If you are using a different environment, run our tests to ensure that it works as intended for you.

cd node_modules/generator-oss-component
npm test

Use With Yeoman

mkdir myNewOssComponent
cd myNewOssComponent
git init
git push origin master

//... link it with travis... using travis-ci.org
//... create your sauce lab user
//... create your floobits workspace
//... configure codeclimate
//... setup your badges
// and then run... (so it generates the travis keys for you)

yo oss-component

//... answer questions and wait for it to finish

//... if you want to autopublish your module (https://github.com/travis-ci/travis.rb#installation)
travis setup npm

Contributing

We highly encourage you to fork this repo, make enhancements, and then submit pull requests back!

When contributing:

  1. You must follow strict test-driven best practices.
  • Tests must be written prior to library code being written. Google Red, Green, Refactor for more information on this expectation.
  1. You must adhere to our automated .eslintrc style guide and can ensure that it is passing without warnings or errors before you submit a pull request.

Public Shared Floobits Workspace

https://floobits.com/fam-operations/generator-oss-component