1.0.40 • Published 3 years ago
vue-admin-methods v1.0.40
utils
使用typescript搭建、rollup+gulp编译打包的一个小型工具包
使用说明
// 通过npm安装
npm i --save vue-admin-methods
文件目录
.
├── LICENSE
├── README.md
├── docs // typedoc生成的文档
│ ├── assets
│ ├── globals.html
│ ├── index.html
│ └── interfaces
├── gulpfile.js // gulp+rollup配置文件
├── package.json
├── src // 代码模块
│ ├── core // 核心代码块
│ │ ├── env.ts
│ │ └── ***.ts
│ ├── index.ts // 入口文件
│ ├── uitls.ts
│ └── types // 声明文件
│ └── index.ts
├── tsconfig.json // ts配置
├── tslint.json // tslint配置
├── .prettierrc // prettier配置
├── .lintstagedrc // lintstage配置
└── typedoc.json // typedoc配置
100%测试通过率
> jest --coverage
PASS test/core/verify.spec.ts
PASS test/core/is.spec.ts
PASS test/core/env.spec.ts
PASS test/index.spec.ts
PASS test/core/format.spec.ts
PASS test/core/date.spec.ts
PASS test/core/method.spec.ts
------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
------------|---------|----------|---------|---------|-------------------
All files | 100 | 100 | 100 | 100 |
src | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
src/core | 100 | 100 | 100 | 100 |
date.ts | 100 | 100 | 100 | 100 |
env.ts | 100 | 100 | 100 | 100 |
format.ts | 100 | 100 | 100 | 100 |
is.ts | 100 | 100 | 100 | 100 |
method.ts | 100 | 100 | 100 | 100 |
verify.ts | 100 | 100 | 100 | 100 |
src/tools | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
------------|---------|----------|---------|---------|-------------------
Test Suites: 7 passed, 7 total
Tests: 57 passed, 57 total
Snapshots: 0 total
Time: 3.985s, estimated 4s
Ran all test suites.
1.0.40
3 years ago
1.0.39
3 years ago
1.0.38
4 years ago
1.0.37
4 years ago
1.0.36
4 years ago
1.0.35
4 years ago
1.0.33
4 years ago
1.0.32
4 years ago
1.0.31
4 years ago
1.0.30
4 years ago
1.0.34
4 years ago
1.0.29
4 years ago
1.0.28
4 years ago
1.0.27
4 years ago
1.0.26
4 years ago
1.0.25
4 years ago
1.0.24
4 years ago
1.0.23
4 years ago
1.0.22
4 years ago
1.0.21
4 years ago
1.0.20
4 years ago
1.0.19
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.12
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.2
4 years ago
1.0.3
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago