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

nested-archetype-dev

v1.0.0

Published

Shared configuration for JS projects at Nested (Development)

Downloads

2

Readme

Nested Archetype

This archetype includes common tools used to build JS (not necessarily React) applications.

To start a new project using this archetype:

  1. Create a project with git and run through npm init.
  2. Run yarn add builder nested-archetype.
  3. Run yarn add -D nested-archetype-dev.
  4. Create a .babelrc file with
    {
      "extends": "./node_modules/nested-archetype-dev/.babelrc"
    }
    
  5. Create a .builderrc file with
    ---
    archetypes:
      - nested-archetype
  6. Create a .eslintrc.js file with
    module.exports = {
      extends: './node_modules/nested-archetype-dev/.eslintrc.js',
    };
Notes

If you haven't done this before, you will need to augment your PATH variable to be able to use the local version of builder following these instructions. If you add this to your .bash_profile

This package was built using builder.

You can override all of the commands in your local package.

Available commands

All of the commands need to be preceded by builder run. Pro tip: add an alias b for builder run command.

  • check - runs the linter and tests.
  • lint - runs the linter.
  • test - runs all of the tests concurrently. The amount of tests running at the same time defaults to the number of the cores available on your machine.
  • test:single - runs all of the tests consecutively (one by one).
  • test:watch - watches all tests.

Extending Jest configuration

You can extend Jest configuration by creating a jest.config.js file and adding a preset option.

module.exports = {
  preset: 'nested-archetype-dev',
  ...your configuration
};