Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: badge and version #1

Merged
merged 3 commits into from
Jan 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 19 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
Copyright (c) 2018
Copyright (c) 2018 Yangfan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## react-yan-progress
[![NPM version](https://img.shields.io/npm/v/react-yan-progress.svg?style=flat)](https://www.npmjs.com/package/react-yan-progress)
[![Build Status](https://travis-ci.org/Yangfan2016/react-yan-progress.svg?branch=master)](https://travis-ci.org/Yangfan2016/react-yan-progress)
[![Coverage Status](https://coveralls.io/repos/github/Yangfan2016/react-yan-progress/badge.svg?branch=master)](https://coveralls.io/github/Yangfan2016/react-yan-progress?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/Yangfan2016/react-yan-progress/badge.svg)](https://coveralls.io/github/Yangfan2016/react-yan-progress)


This is a cascading progress bar component based on react
Expand Down Expand Up @@ -77,5 +77,14 @@ $ yarn unlink
- Publish your local branch, Open a pull request
- Enjoy hacking <3

### MIT license
Copyright (c) 2018

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

---
built upon love by [docor](https://github.com/turingou/docor.git) v0.3.0
2 changes: 1 addition & 1 deletion build/YanProgress.min.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"name": "react-yan-progress",
"version": "0.1.4",
"version": "0.2.0",
"author": "Yangfan",
"license": "MIT",
"description": "This is a cascading progress bar component based on react",
"keywords": [
"react",
Expand Down
6 changes: 3 additions & 3 deletions test/YanProgress.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let expect = require("chai").expect;
let React = require("react");
let ReactDOM = require("react-dom");
let YanProgress = require('../build/YanProgress.min.js').default;
let YanProgress = require('../build/YanProgress.min.js');

let app;
let progressBar;
Expand Down Expand Up @@ -141,7 +141,7 @@ describe("code strong", function () {
.have
.lengthOf(3);
});
it("total > done", function () {
it("done > total", function () {
TOTAL = 100;
DONE = 600;
MODIFY = 30;
Expand Down Expand Up @@ -173,4 +173,4 @@ describe("code strong", function () {
.be
.equal(DONE);
});
});
});
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ module.exports = {
path: path.resolve(__dirname, './build'),
filename: '[name].min.js',
publicPath: "./build/",
libraryTarget: 'commonjs2',
libraryTarget: 'umd',
library: 'YanProgress',
libraryExport: 'default',
},
module: {
rules: [
Expand Down