文件名称:lib-builder:开箱即用JavaScript库打包工具,内部使用rollup实现
文件大小:73KB
文件格式:ZIP
更新时间:2024-05-28 20:14:30
JavaScript
library builder
开箱即用JavaScript库打包工具,内部使用rollup实现
安装
npm install --save-dev lkl-builder --registry=http://npm.lkangle.cn
全局安装可支持使用create命令
使用
$ npx builder -h
Usage: builder [command] [options]
Options:
-v, --version 查看工具版本号
-h, --help 查看帮助
Commands:
build [options] library打包 (默认命令)
add
【文件预览】:
lib-builder-master
----index.js(2KB)
----package.json(939B)
----templates()
--------.babelrc(191B)
--------base.eslintrc.js(244B)
--------.yarnrc(41B)
--------jest.conf(6KB)
--------demo.zip(766B)
--------index.test.js(95B)
--------tsconfig.json(135B)
--------base.zip(4KB)
----.github()
--------workflows()
----test()
--------index.js(70B)
--------unit()
----jest.config.js(319B)
----.npmignore(89B)
----.gitignore(48B)
----lib()
--------config.js(4KB)
--------utils.js(5KB)
--------index.js(2KB)
--------projects.js(7KB)
----README.md(3KB)
----yarn.lock(178KB)