Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node包 #2

Open
iulo opened this issue Aug 27, 2018 · 0 comments
Open

node包 #2

iulo opened this issue Aug 27, 2018 · 0 comments

Comments

@iulo
Copy link
Owner

iulo commented Aug 27, 2018

启动模板

https://medium.com/better-programming/best-node-js-boilerplate-to-speed-up-your-project-development-a9eca7b07f90

hackathon-starter
TypeScript-Node-Starter

cli工具

commander 用来实现基本命令
Inquirer 实现cli中的问答
update-notifier 升级提示
use-config (deprecated) 读取用户配置
joycon use-config替代品
cosmiconfig 读取用户配置
bin-wrapper
concurrently

发布相关工具

standard-version
semantic-release

config读取

cosmiconfig
joycon

文件处理

globby通配符匹配文件,api比node-glob更友好
fs-extra node fs模块的功能增强,例如创建多级文件夹,promise支持等

Repository owner locked and limited conversation to collaborators Aug 30, 2018
@iulo iulo changed the title cli工具编写 一个npm包的编写 Aug 30, 2018
Repository owner unlocked this conversation Aug 30, 2018
@iulo iulo changed the title 一个npm包的编写 一个node包的编写 Sep 18, 2018
@iulo iulo changed the title 一个node包的编写 node包 Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant