create-my-library
v0.0.3
Published
CLI for creating reusable, modern javascript libraries using Rollup and create-my-library
Downloads
2
Maintainers
Readme
create-my-library
CLI for creating reusable, modern javascript libraries using Rollup and create-my-library.
Features
- Easy-to-use CLI
- Handles all modern JS features
- Bundles
commonjs
andes
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