摘要: 1. 脚本第一行添加 #!/usr/bin/env node // index.js #!/usr/bin/env node console.log('hello world') 2. package.json 添加bin { "name": "hello-test", "version": "1. 阅读全文
posted @ 2021-08-02 08:54 彭成刚 阅读(88) 评论(0) 推荐(0) 编辑