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

neutrino-preset-infl

v2.2.0

Published

This is our base dependency for Front End applications (pluginated)

Downloads

70

Readme

neutrino-preset-infl

This is our base dependency for Front End applications (pluginated)

Creating a new Project;

  • mkdir project-name
  • cd project-name
  • npm-init
  • npm install --save neutrino neutrino-preset-infl ([email protected])
  • the starter application uses react so please install @influitive/runtime-deps if you plan to use our standard runtime packages
  • ./node_modules/.bin/infl init
  • select first three options for a new web application project
  • select the npm build option if you wish to also publish an npm module

you will now have a generated application structure

  • change DEV_PORT in your .env file to the port you wish to serve from
  • echo DEV_PORT > ~/.puma-dev/HOSTNAME
    • example: for the app named hedwig-fe, that runs on port 3999
    • echo 3999 > ~/.puma-dev/hedwig-fe.infl

DEV_PORT defaults to 3000 and hostname by default should be your packages name + .infl

please add an entry to your puma-dev or pow that matches the env variable DEV_PORT

please add an entry to the HUB repo at scripts/pluginate.rb if this app is pluginated into HUB

Running a neutrino based project:

Setup:

from hub directory

  • bundle exec rails runner ./scripts/pluginate.rb

make sure you have puma dev entry matching the pluginater hostname in your ~/.puma-dev folder (see above) (npi will attempt to do this for you whenever it's started)

  • echo DEV_PORT > ~/.puma-dev/HOSTNAME

Running Local:

start local dev server:

  • npm start

start local test watcher:

  • npm test

Deployment

gitlab deployment settings have been setup for you:

  • to deploy to qa: push development
  • to deploy to staging: push master
  • to deploy to production:
    • create a new release via ./node_modules/.bin/infl release

Info

Packages included for you:

please refer to a specific packages documentation for use.

linting rules handled by @influitive/eslint-config

testing handled by jest via neutrino-preset-jest

to create a test, place a file with the suffix .test.js anywhere in your src folder