0.0.3 • Published 2 years ago

create-my-library v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

create-my-library

CLI for creating reusable, modern javascript libraries using Rollup and create-my-library.

NPM JavaScript Style Guide

Features

  • Easy-to-use CLI
  • Handles all modern JS features
  • Bundles commonjs and es module formats
  • Rollup for bundling
  • Supports complicated peer-dependencies
  • Supports CSS modules
  • Optional support for TypeScript
  • Sourcemap creation

Install globally

This package requires node >= 10.

npm install -g create-my-library

Usage with npx

npx create-my-library <my-lib>

Creating a new library

create-my-library

Answer some basic prompts about your module, and then the CLI will perform the following steps:

  • copy over the template
  • install dependencies via yarn or npm
  • link packages together for local development
  • initialize local git repo

Development

License

MIT © Bhawani Shankar Bharti