Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from sculove/coveralls
Browse files Browse the repository at this point in the history
chore(env): add coveralls
  • Loading branch information
sculove committed Jun 29, 2017
2 parents 2a28b5a + 85c9ee7 commit 3a2335a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -13,4 +13,6 @@ cache:
before_script:
- npm run lint
script:
- npm run coverage
- npm run coverage
after_success:
- npm run coveralls
16 changes: 5 additions & 11 deletions README.md
@@ -1,14 +1,12 @@
# egjs-pauseresume [![npm version](https://badge.fury.io/js/%40egjs%2Fpauseresume.svg)](https://badge.fury.io/js/%40egjs%2Fpauseresume) [![Build Status](https://travis-ci.org/naver/egjs-pauseresume.svg?branch=master)](https://travis-ci.org/naver/egjs-pauseresume)
# egjs-pauseresume [![npm version](https://badge.fury.io/js/%40egjs%2Fpauseresume.svg)](https://badge.fury.io/js/%40egjs%2Fpauseresume) [![Build Status](https://travis-ci.org/naver/egjs-pauseresume.svg?branch=master)](https://travis-ci.org/naver/egjs-pauseresume) [![Coverage Status](https://coveralls.io/repos/github/naver/egjs-pauseresume/badge.svg?branch=master)](https://coveralls.io/github/naver/egjs-pauseresume?branch=master)

[![Issue Stats](http://issuestats.com/github/naver/egjs-pauseresume/badge/pr?style=flat)](http://issuestats.com/github/naver/egjs-pauseresume)
[![Issue Stats](http://issuestats.com/github/naver/egjs-pauseresume/badge/issue?style=flat)](http://issuestats.com/github/naver/egjs-pauseresume)

Pauses and resumes animation executed by the jQuery animate() method

## Documentation
* API Documentation
- Latest: [https://naver.github.io/egjs-pauseresume/release/latest/doc/](https://naver.github.io/egjs-pauseresume/release/latest/doc/)
- Specific version: [https://naver.github.io/egjs-pauseresume/release/[VERSION]/doc/](https://naver.github.io/egjs-pauseresume/release/[VERSION]/doc/)

## Documents
- [Get Started and Demos](https://naver.github.io/egjs-pauseresume/)
- [API documentation](https://naver.github.io/egjs-pauseresume/release/latest/doc/)


## Supported Browsers
Expand All @@ -19,10 +17,6 @@ The following are the supported browsers.
|10+|Latest|Latest|Latest|7+|2.3+(except 3.x)|






## Download and Installation

Download dist files from repo directly or install it via npm.
Expand Down
2 changes: 1 addition & 1 deletion jsdoc.json
Expand Up @@ -44,7 +44,7 @@
},
"linenums": true,
"link": {
"canonical": "http://naver.github.io/egjs/"
"canonical": "http://naver.github.io/egjs-pauseresume/release/latest/doc/"
}
},
"markdown": {
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Expand Up @@ -46,7 +46,7 @@ module.exports = function(config) {
if(config.coverage) {
karmaConfig.reporters.push('coverage-istanbul');
karmaConfig.coverageIstanbulReporter = {
reports: [ 'text-summary', 'html'],
reports: ["text-summary", "html", "lcovonly"],
dir: './coverage'
};
karmaConfig.webpack.module.rules.unshift({
Expand Down
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -16,7 +16,8 @@
"demo:prebuild-version": "cpx 'dist/**/*' demo/release/$npm_package_version/dist --clean && cpx 'doc/**/*' demo/release/$npm_package_version/doc --clean",
"demo:prebuild-latest": "cpx 'dist/**/*' demo/release/latest/dist --clean && cpx 'doc/**/*' demo/release/latest/doc --clean",
"demo:deploy": "npm run build && npm run jsdoc && npm run demo:prebuild-version && npm run demo:prebuild-latest && npm run demo:build && gh-pages -d demo/_site",
"demo:setup": "cpx 'node_modules/@egjs/common-demo/**/*' 'demo/' && rm demo/package.json",
"demo:setup": "cpx 'node_modules/@egjs/common-demo/**/*' 'demo/' && rm demo/package.json",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"demo:updateVersion": "echo $npm_package_version > demo/_data/version.yml",
"prepush": "npm run lint",
"commitmsg": "node config/validate-commit-msg.js"
Expand All @@ -40,6 +41,7 @@
"babel-preset-es2015": "^6.24.1",
"chai": "^4.0.2",
"clean-webpack-plugin": "^0.1.16",
"coveralls": "^2.13.1",
"cpx": "^1.5.0",
"egjs-jsdoc-template": "1.3.1",
"eslint": "^3.19.0",
Expand Down

0 comments on commit 3a2335a

Please sign in to comment.