0.0.8 • Published 7 months ago

@andersonsmed/create-js-lib v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Create JS lib PRs Welcome

Create a new JS lib with no build configuration.

Usage

Just run a npx @andersonsmed/create-js-lib@latest command in your terminal and answer the prompted questions.

After that, this script will create a new lib with all the configs so you can focus only on implementing the code.

If something doesn’t work, please file an issue

If you have questions or need help, please ask in GitHub Discussions.

What’s Included?

The nearly created lib will have everything you need to build and publish it, including:

  • ES6 and CommonJS support, so you can choose which one to follow while writing your code.
  • Babel as transpiler, so you don't have to care about making your lib compatible with older versions of JS.
  • Webpack as bundler, so you can publish the minified version of your lib.
  • Husky for managing and installing git hooks.
  • ESLint and Prettier to enable static code validation and enforce code style.
  • A build script to prepare your code to be published.
  • A development script to enable you to test your lib locally.

All of the configuration files contains only the essentials for your lib to be published, so you can extend them easily to fit your own needs.

External Dependencies

Create JS lib depends on some external commands and might fail if they are not accessible from the terminal.

Following is a list with all the external dependencies with guides on how to install each one of them:

  • GIT
  • NPM (if you choose to install packages using npm)
  • YARN (if you choose to install packages using yarn)

License

Create JS lib is open source software licensed as MIT.

0.0.1

10 months ago

0.0.3

10 months ago

0.0.8

7 months ago

0.0.1-beta

11 months ago

0.0.5

10 months ago

0.0.8-alpha

7 months ago

0.0.4

10 months ago

0.0.7

10 months ago

0.0.1-beta.1

10 months ago

0.0.6

10 months ago

0.0.1-alpha.5

11 months ago

0.0.1-alpha.4

11 months ago

0.0.1-alpha.3

11 months ago

0.0.1-alpha.2

11 months ago

0.0.1-alpha.1

11 months ago

0.0.1-alpha

11 months ago