Skip to content

Commit

Permalink
Merge pull request #17 from LeoNero/add/circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoNero committed Aug 2, 2018
2 parents 000c9e4 + 3c0dcd5 commit 3b29503
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 2.0
jobs:
build:
docker:
- image: node:latest

steps:
- checkout

- run:
name: Installing dependencies
command: yarn

- run:
name: Lint
command: yarn lint

- run:
name: Tests
command: yarn test

- run:
name: Building package...
command: yarn build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img src="https://i.imgur.com/Z6OW3Yd.png">
</p>

[![NPM version](https://badge.fury.io/js/react-img-zoom.svg)](http://badge.fury.io/js/react-img-zoom) [![GitHub Stars](https://img.shields.io/github/stars/LeoNero/react-img-zoom.svg)](https://github.com/LeoNero/react-img-zoom/stargazers) [![GitHub Issues](https://img.shields.io/github/issues/LeoNero/react-img-zoom.svg)](https://github.com/LeoNero/react-img-zoom/issues) [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.png?v=103)](https://opensource.org/licenses/mit-license.php)
[![NPM version](https://badge.fury.io/js/react-img-zoom.svg)](http://badge.fury.io/js/react-img-zoom) [![GitHub Stars](https://img.shields.io/github/stars/LeoNero/react-img-zoom.svg)](https://github.com/LeoNero/react-img-zoom/stargazers) [![GitHub Issues](https://img.shields.io/github/issues/LeoNero/react-img-zoom.svg)](https://github.com/LeoNero/react-img-zoom/issues) [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.png?v=103)](https://opensource.org/licenses/mit-license.php) [![CircleCI](https://circleci.com/gh/LeoNero/react-img-zoom/tree/master.svg?style=svg)](https://circleci.com/gh/LeoNero/react-img-zoom/tree/master)

A react component to zoom images on hover
![A gif that shows an image beeing zoomed with a mouse](https://media.giphy.com/media/H4yzG6bPD0lUFtnWsE/giphy.gif)
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"docz:dev": "docz dev",
"docz:build": "docz build",
"test": "BABEL_ENV=test ava --verbose",
"test:watch": "BABEL_ENV=test ava --watch"
"test:watch": "BABEL_ENV=test ava --watch",
"lint": "eslint './src/**/*.js'"
},
"peerDependencies": {
"prop-types": "*",
Expand All @@ -49,6 +50,7 @@
"prop-types": "15.6.2",
"react": "16.4.1",
"react-addons-test-utils": "15.6.2",
"rollup": "0.63.5",
"rollup-plugin-babel": "3.0.7",
"rollup-plugin-eslint": "5.0.0",
"rollup-plugin-postcss": "1.6.2"
Expand Down
11 changes: 11 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,10 @@
escape-string-regexp "^1.0.5"
lodash.deburr "^4.1.0"

"@types/estree@0.0.39":
version "0.0.39"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"

"@types/node@*":
version "10.5.5"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.5.5.tgz#8e84d24e896cd77b0d4f73df274027e3149ec2ba"
Expand Down Expand Up @@ -9806,6 +9810,13 @@ rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0:
estree-walker "^0.5.2"
micromatch "^2.3.11"

rollup@0.63.5:
version "0.63.5"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.63.5.tgz#5543eecac9a1b83b7e1be598b5be84c9c0a089db"
dependencies:
"@types/estree" "0.0.39"
"@types/node" "*"

rst-selector-parser@^2.2.3:
version "2.2.3"
resolved "https://registry.yarnpkg.com/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz#81b230ea2fcc6066c89e3472de794285d9b03d91"
Expand Down

0 comments on commit 3b29503

Please sign in to comment.