-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit b395260
Showing
139 changed files
with
23,888 additions
and
0 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,27 @@ | ||
{ | ||
"presets": [ | ||
["env", { "targets": { "node": 6 }, "useBuiltIns": true }], | ||
"stage-0", | ||
"react" | ||
], | ||
"plugins": ["add-module-exports"], | ||
"env": { | ||
"production": { | ||
"presets": ["react-optimize"], | ||
"plugins": ["babel-plugin-dev-expression"] | ||
}, | ||
"development": { | ||
"plugins": [ | ||
"transform-class-properties", | ||
"transform-es2015-classes", | ||
"tcomb" | ||
], | ||
"presets": ["react-hmre"] | ||
}, | ||
"test": { | ||
"plugins": [ | ||
["webpack-loaders", { "config": "webpack.config.test.js", "verbose": false }] | ||
] | ||
} | ||
} | ||
} |
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,19 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.{json,js,jsx,html,css}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[.eslintrc] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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 @@ | ||
flow-typed/**/*.js |
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,43 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": "airbnb", | ||
"env": { | ||
"browser": true, | ||
"mocha": true, | ||
"node": true | ||
}, | ||
"rules": { | ||
"arrow-parens": ["off"], | ||
"compat/compat": 2, | ||
"consistent-return": "off", | ||
"comma-dangle": "off", | ||
"generator-star-spacing": "off", | ||
"import/no-unresolved": ["error", { "ignore": ["electron"] }], | ||
"import/no-extraneous-dependencies": "off", | ||
"no-console": 0, | ||
"no-use-before-define": "off", | ||
"promise/param-names": 2, | ||
"promise/always-return": 2, | ||
"promise/catch-or-return": 2, | ||
"promise/no-native": 0, | ||
"react/jsx-no-bind": "off", | ||
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }], | ||
"react/prefer-stateless-function": "off", | ||
"flowtype-errors/show-errors": 2 | ||
}, | ||
"plugins": [ | ||
"flowtype", | ||
"flowtype-errors", | ||
"import", | ||
"promise", | ||
"compat", | ||
"react" | ||
], | ||
"settings": { | ||
"import/resolver": { | ||
"webpack": { | ||
"config": "webpack.config.eslint.js" | ||
} | ||
} | ||
} | ||
} |
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,21 @@ | ||
[ignore] | ||
.*/node_modules/fbjs/.* | ||
.*/app/main.js | ||
.*/app/dist/.* | ||
.*/release/.* | ||
.*/git/.* | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[options] | ||
esproposal.class_static_fields=enable | ||
esproposal.class_instance_fields=enable | ||
esproposal.export_star_as=enable | ||
module.name_mapper.extension='css' -> '<PROJECT_ROOT>/flow/CSSModule.js.flow' | ||
module.name_mapper.extension='styl' -> '<PROJECT_ROOT>/flow/CSSModule.js.flow' | ||
module.name_mapper.extension='png' -> '<PROJECT_ROOT>/flow/WebpackAsset.js.flow' | ||
module.name_mapper.extension='jpg' -> '<PROJECT_ROOT>/flow/WebpackAsset.js.flow' | ||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe | ||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue |
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 @@ | ||
* text eol=lf | ||
*.png binary | ||
*.ico binary | ||
*.icns binary |
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,46 @@ | ||
# Logs | ||
logs | ||
*.log | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
.eslintcache | ||
|
||
# Dependency directory | ||
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git | ||
node_modules | ||
app/node_modules | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# App packaged | ||
release | ||
app/main.js | ||
app/main.js.map | ||
app/bundle.js | ||
app/bundle.js.map | ||
app/style.css | ||
app/style.css.map | ||
dist | ||
main.js | ||
main.js.map | ||
|
||
.idea |
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 @@ | ||
{ | ||
"ecmaVersion": 7, | ||
"libs": [ | ||
"browser" | ||
], | ||
"dontLoad": [ | ||
"node_modules/**" | ||
], | ||
"plugins": { | ||
"doc_comment": { | ||
"fullDocs": true, | ||
"strong": 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,56 @@ | ||
sudo: false | ||
|
||
language: node_js | ||
|
||
node_js: | ||
- 7 | ||
- 6 | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
|
||
# Enable when https://github.com/yarnpkg/yarn/issues/1233 and | ||
# https://github.com/yarnpkg/yarn/issues/1059 are resolved and disable npm cache | ||
# | ||
# cache: | ||
# directories: | ||
# - $HOME/.yarn-cache | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 | ||
- icnsutils | ||
- graphicsmagick | ||
- xz-utils | ||
- xorriso | ||
|
||
install: | ||
- export CXX="g++-4.8" | ||
- npm install -g npm@latest | ||
- npm install | ||
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16" | ||
|
||
# Enable when https://github.com/yarnpkg/yarn/issues/1233 and | ||
# https://github.com/yarnpkg/yarn/issues/1059 are resolved and disable npm cache | ||
# | ||
# install: | ||
# - export CXX="g++-4.8" | ||
# - npm install -g yarnpkg | ||
# - yarn | ||
# - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16" | ||
|
||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start & | ||
- sleep 3 | ||
|
||
script: | ||
- npm run lint | ||
- npm run test | ||
- npm run build | ||
- npm run test-e2e | ||
- npm run package |
Oops, something went wrong.