配置可执行文件 mythone 2018-08-20 181 阅读1分钟 package.json: "bin": { "aaa": "bin/www.js" } bin/www.js #! /usr/bin/env node console.log('hello world')