Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
clauderic committed Feb 16, 2017
1 parent e67bb23 commit 439980d
Show file tree
Hide file tree
Showing 49 changed files with 7,395 additions and 2,160 deletions.
49 changes: 0 additions & 49 deletions .babelrc

This file was deleted.

32 changes: 14 additions & 18 deletions .eslintrc
@@ -1,20 +1,16 @@
{
"parser": "babel-eslint",
"env": {
"node": true,
"browser": true,
"es6": true,
"mocha": true
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"extends": ["eslint:recommended", "plugin:react/recommended"]
"extends": "react-app",
"rules": {
"no-mixed-operators": [
"warn",
{
"groups": [
['&', '|', '^', '~', '<<', '>>', '>>>'],
['==', '!=', '===', '!==', '>', '>=', '<', '<='],
['in', 'instanceof']
],
"allowSamePrecedence": true
}
]
}
}
16 changes: 7 additions & 9 deletions .gitignore
@@ -1,9 +1,7 @@
*.DS_Store
node_modules
dist
styles.min.css
styles.min.css.map
coverage
.stories
.storybook
npm-debug.log
/coverage
/demo/dist
/es
/lib
/node_modules
/umd
npm-debug.log*
15 changes: 0 additions & 15 deletions .npmignore

This file was deleted.

20 changes: 17 additions & 3 deletions .travis.yml
@@ -1,6 +1,20 @@
sudo: false

language: node_js
node_js:
- 5
- 4

cache:
directories:
- node_modules

before_install:
- npm install codecov.io coveralls

after_success:
- npm run codecov
- bash <(curl -s https://codecov.io/bash)
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

branches:
only:
- master
37 changes: 0 additions & 37 deletions CHANGELOG.md

This file was deleted.

25 changes: 25 additions & 0 deletions CONTRIBUTING.md
@@ -0,0 +1,25 @@
## Prerequisites

[Node.js](http://nodejs.org/) >= v4 must be installed.

## Installation

- Running `npm install` in the components's root directory will install everything you need for development.

## Demo Development Server

- `npm start` will run a development server with the component's demo app at [http://localhost:3000](http://localhost:3000) with hot module reloading.

## Running Tests

- `npm test` will run the tests once.

- `npm run test:coverage` will run the tests and produce a coverage report in `coverage/`.

- `npm run test:watch` will run the tests on every change.

## Building

- `npm run build` will build the component for publishing to npm and also bundle the demo app.

- `npm run clean` will delete built resources.

0 comments on commit 439980d

Please sign in to comment.