febone
febone copied to clipboard
MX FE project scaffolding helper
概览
这是一个脚手架工具用于生成符合一般开发规范的原始项目。
快速上手
-
创建一个空文件夹,
cd
到这个文件夹里 -
执行
npm i febone
-
执行
node_modules/.bin/febone
,请耐心等待,这个步骤会下载开发的全部基础依赖,会比较耗时。 如果是 typescript 项目,请执行node_modules/.bin/febone --lang typescript
。 -
阅读生成的项目的 readme.md,或者在线文档 febone。
API
执行 node_modules/.bin/febone --help
,查看全部命令行 API。
脚手架升级
在项目文件夹执行 node_modules/.bin/no update-bone
。