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

gp-boilerplate

v4.0.0

Published

Grabarz & Partner - Frontend Boilerplate

Downloads

12

Readme

Boilerplate

NPM version Build Status Windows Build status Dependency Status devDependency Status

This boilerplate structure including tasks and servers should help you to develop modular websites + documentation per partial.

Recommended IDE

Please use Atom.io to develop your project. I tested some other IDEs (IntelliJ, Netbeans, Eclipse, Sublime, ...) but no one offers working support for handlebars and postcss.

Recommended atom.io packages

Following atom.io-packages are recommended to use:

Boilerplate specs

The boilerplate based on gulp and assemble (beta-5).

Implemented tasks

Those tasks are configured by default:

  • clean
  • copy
  • handlebars-compiler
  • postcss-compiler
  • purecss-generator
  • sitemap-generator
  • watch-handler
  • webpack-bundler

They could be modified by env/tasks.json.

Implemented servers

Those servers are configured by default:

  • hapijs
  • hapijs-webpack-dev-server
  • livereload
  • weinre

They could be modified by env/local.json.

Setup your environment

At first install the latest stable node.js version (>=5.1.0) by homebrew.

brew install node

When nodejs is installed you can run

npm install

The installation process should run without some errors.

Test the environment

To verify a working environment just run the following command in the root folder of your project.

npm test

It should build all sources into the 'build'-directory of your project root folder. No error message should be shown in your console.

Run development-environment

npm run dev

Run production-environment

npm run prod

Build production-environment

npm run build

Deployment to heroku

Configuration

Modernizr

modernizr-build can be customized by .modernizrrc inside the root directory of your project. Here you will find all available configuration options.

jshint

ToDo:

  • [x] Check CSSNano - doesn't remove comments
  • [x] Doc Helper
  • [x] Related Links to included partials
  • [x] Sample Controller/Model/Target, Handlebars, CSS
  • [ ] Share atom.io configuration
  • [ ] implement working Weinre

install node and npm on osx by homebrew https://gist.github.com/DanHerbert/9520689

fixing network problem short version (cmd): npm config set registry http://registry.npmjs.org/ long version: https://github.com/npm/npm/issues/7945

heroku


to install dev dependencies heroku config:set NPM_CONFIG_PRODUCTION=false