This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
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 1169f34
Showing
140 changed files
with
13,787 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": 7 }, | ||
"useBuiltIns": true | ||
}], | ||
"stage-0", | ||
"react" | ||
], | ||
"plugins": ["add-module-exports", "dynamic-import-webpack"], | ||
"env": { | ||
"production": { | ||
"presets": ["react-optimize"], | ||
"plugins": ["babel-plugin-dev-expression"] | ||
}, | ||
"development": { | ||
"plugins": [ | ||
"transform-class-properties", | ||
"transform-es2015-classes", | ||
["flow-runtime", { | ||
"assert": true, | ||
"annotate": 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,20 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.{json,js,jsx,html,css,yml}] | ||
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,53 @@ | ||
# 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 | ||
|
||
# flow-typed | ||
flow-typed/npm/* | ||
!flow-typed/npm/module_vx.x.x.js | ||
|
||
# App packaged | ||
release | ||
app/main.prod.js | ||
app/main.prod.js.map | ||
app/renderer.prod.js | ||
app/renderer.prod.js.map | ||
app/style.css | ||
app/style.css.map | ||
dist | ||
dll | ||
main.js | ||
main.js.map | ||
|
||
.idea | ||
npm-debug.log.* | ||
__snapshots__ |
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,62 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"allowImportExportEverywhere": true | ||
}, | ||
"extends": "airbnb", | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
"rules": { | ||
"arrow-parens": ["off"], | ||
"compat/compat": "error", | ||
"consistent-return": "off", | ||
"comma-dangle": "off", | ||
"generator-star-spacing": "off", | ||
"import/no-unresolved": "error", | ||
"import/prefer-default-export": "off", | ||
"import/no-extraneous-dependencies": "off", | ||
"no-console": "off", | ||
"no-plusplus": "off", | ||
"no-param-reassign": "off", | ||
"no-use-before-define": "off", | ||
"no-multi-assign": "off", | ||
"promise/param-names": "error", | ||
"promise/always-return": "error", | ||
"promise/catch-or-return": "error", | ||
"promise/no-native": "off", | ||
"react/sort-comp": [ | ||
"error", | ||
{ | ||
"order": [ | ||
"type-annotations", | ||
"static-methods", | ||
"lifecycle", | ||
"everything-else", | ||
"render" | ||
] | ||
} | ||
], | ||
"react/jsx-no-bind": "off", | ||
"react/jsx-filename-extension": [ | ||
"error", | ||
{ "extensions": [".js", ".jsx"] } | ||
], | ||
"react/prefer-stateless-function": "off", | ||
"react/prop-types": "off", | ||
"react/require-default-props": "off", | ||
"react/forbid-prop-types": "off", | ||
"react/jsx-wrap-multilines": "off", | ||
"no-script-url": "off" | ||
}, | ||
"plugins": ["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,26 @@ | ||
[ignore] | ||
<PROJECT_ROOT>/node_modules/* | ||
<PROJECT_ROOT>/app/main.prod.js | ||
<PROJECT_ROOT>/app/main.prod.js.map | ||
<PROJECT_ROOT>/app/dist/.* | ||
<PROJECT_ROOT>/resources/.* | ||
<PROJECT_ROOT>/release/.* | ||
<PROJECT_ROOT>/dll/.* | ||
<PROJECT_ROOT>/release/.* | ||
<PROJECT_ROOT>/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>/internals/flow/CSSModule.js.flow' | ||
module.name_mapper.extension='styl' -> '<PROJECT_ROOT>/internals/flow/CSSModule.js.flow' | ||
module.name_mapper.extension='scss' -> '<PROJECT_ROOT>/internals/flow/CSSModule.js.flow' | ||
module.name_mapper.extension='png' -> '<PROJECT_ROOT>/internals/flow/WebpackAsset.js.flow' | ||
module.name_mapper.extension='jpg' -> '<PROJECT_ROOT>/internals/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,52 @@ | ||
# 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 | ||
|
||
# flow-typed | ||
flow-typed/npm/* | ||
!flow-typed/npm/module_vx.x.x.js | ||
|
||
# App packaged | ||
release | ||
app/main.prod.js | ||
app/main.prod.js.map | ||
app/renderer.prod.js | ||
app/renderer.prod.js.map | ||
app/style.css | ||
app/style.css.map | ||
dist | ||
dll | ||
main.js | ||
main.js.map | ||
|
||
.idea | ||
npm-debug.log.* |
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 @@ | ||
v6.9.5 |
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,3 @@ | ||
{ | ||
"extends": "stylelint-config-standard" | ||
} |
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,42 @@ | ||
sudo: false | ||
|
||
language: node_js | ||
|
||
node_js: | ||
- 8 | ||
- 7 | ||
|
||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
- app/node_modules | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 | ||
- icnsutils | ||
- graphicsmagick | ||
- xz-utils | ||
- xorriso | ||
|
||
install: | ||
- export CXX="g++-4.8" | ||
- yarn | ||
- cd app && yarn && cd .. | ||
- "/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: | ||
- node --version | ||
- yarn lint | ||
- yarn package | ||
- yarn test | ||
- yarn test-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,19 @@ | ||
{ | ||
"javascript.validate.enable": false, | ||
"flow.useNPMPackagedFlow": true, | ||
"search.exclude": { | ||
".git": true, | ||
".eslintcache": true, | ||
"app/dist": true, | ||
"app/main.prod.js": true, | ||
"app/main.prod.js.map": true, | ||
"bower_components": true, | ||
"dll": true, | ||
"flow-typed": true, | ||
"release": true, | ||
"node_modules": true, | ||
"npm-debug.log.*": true, | ||
"test/**/__snapshots__": true, | ||
"yarn.lock": 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,22 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015-present Formidable Labs | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
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 @@ | ||
# webpack-dashboard-app |
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,25 @@ | ||
html, | ||
body { | ||
font-family: 'montserratregular'; | ||
background: #1d212d; | ||
margin: 0; | ||
padding: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
#root { | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
} | ||
table td { | ||
word-wrap: break-word; | ||
} |
Oops, something went wrong.