This repository has been archived by the owner on Jun 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
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
DavidC
committed
Jul 17, 2016
1 parent
5bcceda
commit 77c1b3c
Showing
22 changed files
with
1,022 additions
and
1 deletion.
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,15 @@ | ||
{ | ||
"presets": ["es2015", "stage-0"], | ||
"plugins": [ | ||
"transform-es3-member-expression-literals", | ||
"transform-es3-property-literals", | ||
"transform-runtime" | ||
], | ||
"env": { | ||
"commonjs": { | ||
"plugins": [ | ||
["transform-es2015-modules-commonjs", { "loose": true }] | ||
] | ||
} | ||
} | ||
} |
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,4 @@ | ||
node_modules/* | ||
webpack.config*.js | ||
webpack/* | ||
build/* |
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,36 @@ | ||
{ | ||
"extends": "airbnb", | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 7, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": true, | ||
"generators": false, | ||
"objectLiteralDuplicateProperties": false | ||
} | ||
}, | ||
"rules": { | ||
"no-console": [ 1, { "allow": ["warn", "error"] } ], | ||
"no-multi-spaces": [ 2, { "exceptions": { | ||
"VariableDeclarator": true, | ||
"ImportDeclaration": true | ||
}}], | ||
"key-spacing": [2, { "align": "value" }], | ||
"space-in-parens": "off", | ||
"no-warning-comments": [2, { "terms": ["todo", "fixme"], "location": "anywhere" }], | ||
"max-len": [1, 100, 2, {"ignoreUrls": true, "ignoreComments": true}], | ||
"no-multiple-empty-lines": [1, {"max": 3}], | ||
"object-shorthand": 0, | ||
"new-cap": [2, {"capIsNewExceptions": ["Router"]}], | ||
"no-param-reassign": 0, | ||
"array-bracket-spacing": ["error", "always"], | ||
"no-underscore-dangle": 0, | ||
"react/jsx-curly-spacing": 0, | ||
"react/jsx-first-prop-new-line": 0, | ||
"spaced-comment": 0, | ||
"jsx-a11y/img-uses-alt": 0, | ||
"jsx-a11y/redundant-alt": 0, | ||
"jsx-a11y/valid-aria-role": 0 | ||
} | ||
} |
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,8 @@ | ||
node_modules | ||
*.env | ||
*.log | ||
npm-debug.log | ||
.DS_Store | ||
dist | ||
lib | ||
es |
Empty file.
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 @@ | ||
language: node_js | ||
node_js: | ||
- "5" | ||
- "6" | ||
script: | ||
- npm run check:src | ||
- npm run build | ||
branches: | ||
only: | ||
- master |
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 @@ | ||
All notable changes are described on the [Releases](https://github.com/dacz/rxr/releases) page. |
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,14 @@ | ||
# Contributor Code of Conduct | ||
|
||
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities. | ||
|
||
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion. | ||
|
||
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team. | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers. | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/) | ||
|
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,69 @@ | ||
# Contributing | ||
I'm open to, and grateful for, any contributions made by the community. By contributing to rxr, you agree to abide by the [code of conduct](https://github.com/dacz/rxr/blob/master/CODE_OF_CONDUCT.md). | ||
|
||
## Reporting Issues and Asking Questions | ||
Before opening an issue, please search the [issue tracker](https://github.com/dacz/rxr/issues) to make sure your issue hasn't already been reported. | ||
|
||
|
||
## Development | ||
|
||
Visit the [Issue tracker](https://github.com/dacz/rxr/issues) to find a list of open issues that need attention. | ||
|
||
Fork, then clone the repo: | ||
``` | ||
git clone https://github.com/your-username/rxr.git | ||
``` | ||
|
||
### Building | ||
|
||
Running the `build` task will create both a CommonJS module-per-module build and a UMD build. | ||
``` | ||
npm run build | ||
``` | ||
|
||
To create just a CommonJS module-per-module build: | ||
``` | ||
npm run build:lib | ||
``` | ||
|
||
To create just a UMD build: | ||
``` | ||
npm run build:umd | ||
npm run build:umd:min | ||
``` | ||
|
||
### Testing and Linting | ||
|
||
To run the tests: | ||
``` | ||
npm run test | ||
``` | ||
|
||
To continuously watch and run tests, run the following: | ||
``` | ||
npm run test:watch | ||
``` | ||
|
||
To perform linting with `eslint`, run the following: | ||
``` | ||
npm run lint | ||
``` | ||
|
||
###New Features | ||
|
||
Please open an issue with a proposal for a new feature or refactoring before starting on the work. We don't want you to waste your efforts on a pull request that we won't want to accept. | ||
|
||
|
||
## Submitting Changes | ||
|
||
* Open a new issue in the [Issue tracker](https://github.com/dacz/rxr/issues). | ||
* Fork the repo. | ||
* Create a new feature branch based off the `master` branch. | ||
* Make sure all tests pass and there are no linting errors. | ||
* Submit a pull request, referencing any issues it addresses. | ||
|
||
Please try to keep your pull request focused in scope and avoid including unrelated commits. | ||
|
||
After you have submitted your pull request, we'll try to get back to you as soon as possible. We may suggest some changes or improvements. | ||
|
||
Thank you for contributing! |
Oops, something went wrong.