Skip to content

😘 贡献者指南

首次运行需要先安装依赖

bash
$ npm install

一键打包生成生产代码

bash
$ npm run build

运行单元测试:

bash
$ npm test

注意:浏览器环境需要手动测试,位于test/browser

修改 package.json 中的版本号,修改 README.md 中的版本号,修改 CHANGELOG.md,然后发布新版

bash
$ npm run release

将新版本发布到 npm

bash
$ npm publish

Released under the MIT License.