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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@astuteo/build-config

v5.6.1

Published

Astuteo Build Boilerplate

Readme

Build system 5.0

Config now uses Laravel Mix 6.x. Behind the scenes the system is much different from versions 2.x and earlier and a direct upgrade may not be possible without significant configuration work. Please see Upgrade from Version 2 notes.

Add to project

yarn add @astuteo/build-config@latest

Commands

dev: npx mix watch production: npx mix --production

New project, quick setup.

All commands are run from project root

Step 1:

Copy example webpack config

cp ./node_modules/@astuteo/build-config/example.package.json ./package.json

Step 2:

Copy example webpack config

cp ./node_modules/@astuteo/build-config/example.webpack.mix.js ./webpack.mix.js

Step 3:

Copy example configuration

cp ./node_modules/@astuteo/build-config/config/mix/example.project-config.js ./config/mix/project-config.js

cp ./node_modules/@astuteo/build-config/config/mix/example.safelist.js ./config/mix/safelist.js

cp ./node_modules/@astuteo/build-config/config/mix/sample-local-config.js ./config/mix/sample-local-config.js

Step 4 (optional):

Copy .nvmrc, this will inform which version of nodejs the project should run.

cp ./node_modules/@astuteo/build-config/example.nvmrc ./.nvmrc

About the files

About package.json

The "@astuteo/build-config" dependency includes Mix, the Mix plugins and Prettier config that we use across our projects. This should bet set to ^5.0.0. This does not include tailwind or any javascript libraries that we use on the frontend.

The first time that you run Mix it will install additional dependencies. At this time, we are excluding those from our config to make sure it has the latest version of each that works with the latest version of Mix.

This process can be a bit quirky, and you may need to run yarn to install the dependencies if it seems Mix is going in a loop attempting to add the same packages more than once.

About webpack.mix.js

Avoid modifying this with any project specific configuration if at all possible. The goal is to keep this completely replaceable when we go to upgrade a project.

About config/mix/project-config.js

This file contains a project javascript object and where all project specific settings should go. Be sure to edit and commit this on a per-project basis.

About config/mix/safelist.js

Selectors that PurgeCSS will ignore regardless if it's in our code or not. NOTE: We are now using the default behavior of Tailwind's built-in PurgeCSS. Only Tailwind files and Sass code wrapped in @layer will be purged. This should ease issues with third-party libraries.

About config/mix/sample-local-config.js

If you rename a copy of this to local-config.js you can override the default local project.