make-js-lib

0.1.2 • Public • Published

make-js-lib

Command line tool to generate JavaScript libraries

✨ Features

make-js-lib is a cli that creates a JavaScript library from a template.

When run it does the following:

  • Creates a project folder
  • Adds files from template
  • Installs dependencies
  • Makes a commit

Dependencies included

  • typescript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • np - A better npm publish

  • ava - Node.js test runner that lets you develop with confidence 🚀

  • xo - ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults

  • esbuild-runner - ⚡️ Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild

  • package-preview - Creates a production preview of a package


Usage

npx make-js-lib <library-name>

Before you start

If you intend to publish this to npm, then you should check the availability of your name with npm-name-cli:

npx npm-name-cli <library-name>

What to do after the script is run

"repository": {
  "type": "git",
  "url": "git+https://github.com/sajmoni/make-js-lib.git"
},

This is required for np to be able to publish a changelog

You might also want to

Readme

Keywords

none

Package Sidebar

Install

npm i make-js-lib

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

15.2 kB

Total Files

14

Last publish

Collaborators

  • sajmoni