diff --git a/.babelrc b/.babelrc index e9feb92..35f5159 100644 --- a/.babelrc +++ b/.babelrc @@ -3,18 +3,6 @@ ["env", { "modules": false }], - "stage-2", - "react", - ], - "env": { - "test": { - "presets": [ - "env", - "stage-2", - "react" - ] - } - }, - "plugins": [ + "react-app" ] } diff --git a/.gitignore b/.gitignore index 37b6dbe..8f70d20 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ npm-debug.log /.nyc_output /npm /gh-pages +.cache +out diff --git a/.travis.yml b/.travis.yml index 7f8755e..df6cd2c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,13 @@ language: node_js node_js: - - v7 + - v8 env: global: matrix: - TRAVIS_MATRIX=test - TRAVIS_MATRIX=build - - TRAVIS_MATRIX=build.demo script: - npm run $TRAVIS_MATRIX diff --git a/README.md b/README.md index 01b6693..dd258db 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,50 @@ -[![version](https://img.shields.io/npm/v/react-ripples.svg?label=version)](https://www.npmjs.org/package/react-ripples) [![Build Status](https://img.shields.io/travis/rwu823/react-ripples.svg)](https://travis-ci.org/rwu823/react-ripples) [![codecov](https://img.shields.io/codecov/c/github/rwu823/react-ripples.svg)](https://codecov.io/github/rwu823/react-ripples) -# react-ripples - -## Install +

+ react-ripples +

+ +

+ + + + + + + + + + +

+ +## Installation ```sh $ npm install --save react-ripples ``` +or +```sh +$ yarn add react-ripples --dev +``` ## Demo [live demo](https://rwu823.github.io/react-ripples) - ## Usage -```javascript +```jsx import Ripples from 'react-ripples' - + render() { -
- - - -
+ + + } ``` - ## API ### Props diff --git a/dev/app.js b/dev/App.js similarity index 100% rename from dev/app.js rename to dev/App.js diff --git a/dev/index.html b/dev/index.html index bc3f8bd..d8c2fb8 100644 --- a/dev/index.html +++ b/dev/index.html @@ -98,6 +98,8 @@

React Ripples

+ +