0.1.2 • Published 3 years ago

kz-js-sdk v0.1.2

Weekly downloads
5
License
ISC
Repository
-
Last release
3 years ago

健康到家js服务包

#安装 1. 使用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)