@interaction/eagle
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -1,17 +0,20 @@ | ||
## 1.0.0 (2020-03-30) | ||
## <small>0.0.1 (2020-04-09)</small> | ||
* feat: init ([a392fb4](https://10.202.133.221/common/eagle/commits/a392fb4)) | ||
* feat: 增加trim ([d8d8323](https://10.202.133.221/common/eagle/commits/d8d8323)) | ||
* feat: 增加电话/身份证号码的验证 ([735d9a2](https://10.202.133.221/common/eagle/commits/735d9a2)) | ||
* docs: 修改包名 ([454ff15](https://10.202.133.221/common/eagle/commits/454ff15)) | ||
* docs: 增加git message ([f4e9014](https://10.202.133.221/common/eagle/commits/f4e9014)) | ||
* docs: 增加文档build情况 ([4d247b4](https://10.202.133.221/common/eagle/commits/4d247b4)) | ||
* docs: 生成日志 ([08c5083](https://10.202.133.221/common/eagle/commits/08c5083)) | ||
* fix: 测试覆盖率 ([35d2767](https://10.202.133.221/common/eagle/commits/35d2767)) | ||
* fix: 测试覆盖率 ([2603a03](https://10.202.133.221/common/eagle/commits/2603a03)) | ||
* test: 增加测试文件 ([c68a6b8](https://10.202.133.221/common/eagle/commits/c68a6b8)) | ||
* test: 增加测试模块 ([d8f6181](https://10.202.133.221/common/eagle/commits/d8f6181)) | ||
* docs: 增加git message ([f4e9014](https://10.202.133.221/common/eagle/commits/f4e9014)) | ||
* add README ([3c3659a](https://10.202.133.221/common/eagle/commits/3c3659a)) | ||
* test ([c981a15](https://10.202.133.221/common/eagle/commits/c981a15)) | ||
* feat: init ([a392fb4](https://10.202.133.221/common/eagle/commits/a392fb4)) | ||
# 1.0.0 (2020-03-30) | ||
### Features | ||
* init ([a392fb4](https://10.202.133.221/common/eagle/commits/a392fb412820db33ef9dd59d761afec7c8cf1170)) | ||
{ | ||
"name": "@interaction/eagle", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "JavaScript library", | ||
@@ -24,3 +24,4 @@ "main": "src/index", | ||
"report": "nyc report --reporter=html", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -p" | ||
"coverage": "nyc report --reporter=text-lcov | coveralls", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s" | ||
}, | ||
@@ -27,0 +28,0 @@ "repository": { |
@@ -6,2 +6,32 @@ # Eagle | ||
[![Build Status](https://travis-ci.org/Iecy/eagle.svg?branch=master)](https://travis-ci.org/github/Iecy/eagle) | ||
[![npm module](https://badge.fury.io/js/%40intelligenteagle%2Feagle.svg)](https://badge.fury.io/js/%40intelligenteagle%2Feagle) | ||
[![npm module](https://badge.fury.io/js/%40interaction%2Feagle.svg)](https://badge.fury.io/js/%40interaction%2Feagle) | ||
[![Coverage Status](https://coveralls.io/repos/github/Iecy/eagle/badge.svg?branch=master)](https://coveralls.io/github/Iecy/eagle?branch=master) | ||
## 使用 | ||
安装 | ||
```shell | ||
npm install --save @interaction/eagle | ||
``` | ||
```javascript | ||
// amd使用方式 | ||
const E = require('@interaction/eagle'); | ||
// es使用方式 | ||
import * as Eagle from '@interaction/eagle'; | ||
import {trim} from '@interaction/eagle'; | ||
``` | ||
浏览器使用方式 | ||
```html | ||
<!-- 未压缩js --> | ||
<script src="path/youProject/eagle.js"></script> | ||
<!-- 压缩文件 --> | ||
<script src="path/youProject/eagle.min.js"></script> | ||
``` | ||
### 构建 | ||
`bash npm run build` 创建 `es`, `src` 文件夹,同时更新`dist`下的`eagle.js`和`eagle.min.js`文件; |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
37
5975
4
0
1