# running tests once
npm run test
# running tests on every change on code
npm run test:watch
# running tests and getting coverage report
npm run test:coverage
出版
npm run publish:patch
Npm 用户必须配置才能发布 .
用于其他客户端回购的示例
在 repo 中安装第一个 autinomo. common
npm install @autonomo.common
然后需要从根包中导入资源(界面、类型、enum、util、.)
import { Business } from '@autonomo/common';
const business: Business = {
key: 'myBusiness',
name: 'My business',
...
}