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

@pushdoctor/stylekit

v0.2.0

Published

Pushdoctor javascript and css style kit

Downloads

24

Readme

Push Doctor Stylekit

The javascript and SCSS files used for Pushdoctor 2018

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

  1. Install Node - https://nodejs.org/en/download
  2. Install npm (node package manager) - https://www.npmjs.com/get-npm
  3. Install gulp - in your command line
npm install --global gulp-cli
  1. Clone Repo - in your command line, navigate to where you want the repo to live locally, enter the
https://pdrteam.visualstudio.com/DefaultCollection/Push%20Doctor%20Global/_git/nhsSite

Installing

Navigate into the cloned repo, then enter in your command line

npm install

Serving demo pages within the project

To build out the project, in your command line, enter

npm run start

The project will run, and will automatically open a browser window at localhost:3000/index.html. Files are served from dist. This will run a watch command so you can see any changes you make to the code (src/scss, src/templates, src/js) in that browser window.

Deployment

The environment file in the root of the project contains your settings that are subbed in as nunjucks template vars.

Deployment is done to an npm private repo under @pushdoctor. Contact Kevin, Rob or Matthew to be added as a developer, you will need this.

Enter your @pushdoctor npm details otherwise you will NOT be able to publish the repository.

npm login

To patch and deploy e.g. 0.0.1 to 0.0.2

 NODE_ENV<env> npm run release-patch

To minor version increment and deploy e.g. 0.0.1 to 0.1.1

 NODE_ENV<env> npm run release-minor

To major version increment and deploy e.g. 0.0.1 to 1.0.1

 NODE_ENV<env> npm run release-major

To prelease a beta version and deploy e.g. 0.0.1 to 0.0.2-1

 NODE_ENV<env> npm run release-beta

Build Styleguide

How to build the Styleguide

Open command line and enter the following

npm run styleguide

The styleguide will build out to styleguide/index.html

Deploy PushNHS to S3 Bucket

npm run deployaws

Thats it.. it deploys all the sites into one bucket. Home pages are :

  • https://www.pushnhs.com/dev/index.html (dev)
  • https://www.pushnhs.com/sit/index.html (sit)
  • https://www.pushnhs.com/staging/index.html (staging)
  • https://www.pushnhs.com/ (live)

Serving a local host build

npm run start

Then type in when asked which one you want to build locally and serve.

Locally you navigate relative to 'dist' folders contents.