#安装
- 使用npm/yarn
$ npm i healthjs --save
或
$ yarn add healthjs
2.使用cdn
<script src="https://unpkg.cn/healthjs.min.js">
<script>
console.log(healthJs.version)
</script>
|-- build
|-- config
|-- cypress cypress配置文件
|-- dist 打包输出文件夹
|-- examples 事例文件夹
|-- src 源代码
|-- utils
|-- plugins
|-- test 单元测试文件夹
|-- .editorconfig
|-- .eslintignore
|-- .eslintrc.js
|-- .cypress.json
|-- .jest.config.js jest单元测试配置
|-- package.json
|-- tsconfig.json
npm run build:dev #dev方式打包,不压缩
npm run build #prod打包,并压缩代码
npm run lint #eslint检验代码
npm run example #本地启动serve静态服务
npm run test #启动单元测试
npm run e2e #启动e2e测试(cypress)