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

bookingbug-studio

v5.14.0

Published

[![Build Status](https://travis-ci.com/BookingBug/bookingbug-studio.svg?token=8wJLpAfYWsmk44G8iqD9&branch=develop)](https://travis-ci.com/BookingBug/bookingbug-studio)

Downloads

90

Readme

JRNI Studio

Build Status

Contributing

Please read the contributors guide for an outline of the workflow and styleguide for working with the application

Setup

Node version

Node version 10 or greater is required.

.env

Put an .env file in the root of the project if it is not already there. Use this file to override any locally defined environment variables. Otherwise, put the following environment variables in the .env file.

For local development

  • BB_CORE_SRC_DIR="/path/to/bookingbug-core-js"
  • BB_CONFIGURATOR_SRC_DIR="/path/to/bookingbug-configurator-js"

For deployment to AWS

  • AWS_SECRET_ACCESS_KEY="your access key"
  • AWS_ACCESS_KEY_ID="your access key ID"

For posting deployment details to slack

  • BB_SLACK_URL="slack webhook url"
  • BB_SLACK_TOKEN="slack token"

The .env is necessary even if it is empty.

Dependencies

Run npm i or npm install will install all the dependencies.

Running the app

Simply run npm start to start the application. You can pass a few options here

  • npm start -- --local core --local configurator will run the application using these modules locally
  • if you then run npm start without passing any local modules or if you pass different ones, the remaining ones will be reinstalled automatically from the remote specified in the package.json
  • npm start -- --port 8091 will run the server with the port... 8091!

Using the configurator locally

In order for your configurator project to work locally you need ALL of the following parameters:

  • client The name of the configurator project
  • environment The name of the environment in the project
  • product The name of the product in the project (Without this one it will not work locally whereas it can be ommitted for a deployed version)

For example: http://localhost:8000/?client=my_company&product=studio&environment=test

Development deploy

npm run deploy -- --env development will deploy your application on /development/your-branch-name.

Please remember the -- syntax is necessary to pass params to npm scripts.

KNOWN ISSUES

Sometimes webpack dev server compilation doesn't stop when pressing Ctrl+C https://github.com/webpack/webpack-dev-server/issues/1479