forked from nkbt/react-collapse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
1,270 additions
and
1,472 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
version: 2 | ||
|
||
|
||
jobs: | ||
build: | ||
working_directory: ~/react-collapse | ||
docker: | ||
- image: circleci/node:8 | ||
- image: selenium/standalone-firefox:3.4.0 | ||
|
||
steps: | ||
- checkout | ||
|
||
|
||
- restore_cache: | ||
key: deps-{{ checksum "yarn.lock" }} | ||
|
||
|
||
- run: yarn install --pure-lockfile | ||
|
||
|
||
- save_cache: | ||
key: deps-{{ checksum "yarn.lock" }} | ||
paths: | ||
- node_modules | ||
|
||
|
||
- run: yarn lint | ||
|
||
|
||
- run: yarn test | ||
|
||
|
||
- run: | ||
name: yarn e2e | ||
command: | | ||
export DOCKER_IP=$(ifconfig | grep "inet addr:" | grep "Bcast:0.0.0.0" | cut -d: -f2 | awk '{ print $1}') | ||
yarn e2e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/example/ | ||
/lib/ | ||
/node_modules/ | ||
/build/ | ||
/lib/ | ||
/pub/ | ||
/reports/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,6 @@ | |
[](https://gitter.im/nkbt/help) | ||
|
||
[](https://circleci.com/gh/nkbt/react-collapse) | ||
[](https://ci.appveyor.com/project/nkbt/react-collapse) | ||
[](https://codecov.io/github/nkbt/react-collapse?branch=master) | ||
[](https://david-dm.org/nkbt/react-collapse) | ||
[](https://david-dm.org/nkbt/react-collapse#info=devDependencies) | ||
|
||
|
@@ -36,7 +34,7 @@ Don't forget to manually install peer dependencies (`react`, `react-motion`) if | |
|
||
## Demo | ||
|
||
[http://nkbt.github.io/react-collapse/example](http://nkbt.github.io/react-collapse/example) | ||
[http://nkbt.github.io/react-collapse](http://nkbt.github.io/react-collapse) | ||
|
||
## Codepen demo | ||
|
||
|
@@ -289,7 +287,7 @@ All other props are applied to a container that is being resized. So it is possi | |
|
||
Currently is being developed and tested with the latest stable `Node 8` on `OSX`. | ||
|
||
To run example covering all `ReactCollapse` features, use `yarn start`, which will compile `src/example/Example.js` | ||
To run example covering all `ReactCollapse` features, use `yarn start`, which will compile `example/Example.js` | ||
|
||
```bash | ||
git clone [email protected]:nkbt/react-collapse.git | ||
|
@@ -304,12 +302,13 @@ open http://localhost:8080 | |
## Tests | ||
|
||
```bash | ||
yarn test | ||
# to run ESLint check | ||
yarn lint | ||
|
||
# to generate test coverage (./reports/coverage) | ||
yarn cov | ||
# to run tests | ||
yarn test | ||
|
||
# to run end-to-end smoketest | ||
# to run end-to-end tests | ||
yarn e2e | ||
``` | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import React from 'react'; | ||
import {Collapse} from '../..'; | ||
import {Collapse} from '../../src'; | ||
|
||
|
||
const styles = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.