rollup-babel-template rollup babel 脚手架模版,写类库的时候可以直接clone下来,改编至 redux 的源码。 下载模版 $ git clone git@github.com:lisniuse/rollup-babel-template.git 安装依赖 $ cnpm install 构建类库源码 $ npm run build 测试 $ npm run test