@njt-tools-open/lib-cli
v0.3.6
Published
A lib cli, to quick create a esm, cjs, iife lib.
Downloads
3
Maintainers
Readme
@njt-tools-open/lib-cli
Easy to create a library as single or multiple mode.
Quick Overview
# install global or use npx
npm install @njt-tools-open/lib-cli -g
# create a library template
lib-cli create my-lib
cd my-lib
Commands
dev
npm run dev
build
npm run build
inject env
// <project_folder>/lib-cli.env.js
module.exports = {
NODE_ENV: 'development',
};