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

bebbi-scripts

v0.4.5

Published

Helps build the code

Downloads

87

Readme

What

Maintain library projects.

Commands for init, validate, test, lint, format, build.

Like kcd-scripts, but

✅ written in TS ✅ tsc builds ✅ outputs esm, cjs, types ✅ yarn berry ✅ yarn workspace ✅ customize 🚫 yarn pnp 🚫 npm ⚠️ Windows: not working on Powershell/scoop.sh, your support appreciated

How

Inside your new module folder, run

  1. git init (optional, bebbi-scripts will install pre-commit hooks)

  2. yarn dlx bebbi-scripts init

The script assumes that your input is src, outDir is dist

Overriding Config

tsconfig.json

{
  "extends": "bebbi-scripts/tsconfig.json",
  "others_are_optional": "..."
}

eslint

You can extend the react-scripts eslint config which ships with this package. Example package.json section:

{
  "eslintConfig": {
    "extends": ["react-app"],
    "other": "..."
  }
}

Customizing bebbi-scripts

To fully customize bebbi-scripts, make it a dependency of your own script.

Check out gig-utils for a module that extends bebbi-scripts with a config for babel and storybook.

Note that if you have a typecheck script (normally set to bebbi-scripts typecheck) that will be run as part of the validate script (which is run as part of the pre-commit script as well).

Inspiration

kcd-scripts react-scripts

💡 Bugs and Features

Help us by adding pull requests to issues!

Contributors

amaster507 verneleem bebbi

License

MIT