Skip to content

Commit c0d56cc

Browse files
committed
Initial commit.
0 parents  commit c0d56cc

File tree

130 files changed

+14724
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+14724
-0
lines changed

.babelrc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"targets": { "node": 10 },
7+
"useBuiltIns": true
8+
}
9+
],
10+
"stage-0",
11+
"react"
12+
],
13+
"plugins": ["add-module-exports"],
14+
"env": {
15+
"production": {
16+
"presets": ["react-optimize"],
17+
"plugins": [
18+
"dev-expression",
19+
"transform-class-properties",
20+
"transform-es2015-classes",
21+
"inline-react-svg"
22+
]
23+
},
24+
"development": {
25+
"plugins": [
26+
"transform-class-properties",
27+
"transform-es2015-classes",
28+
"inline-react-svg"
29+
]
30+
}
31+
}
32+
}

.dockerignore

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
10+
# Directory for instrumented libs generated by jscoverage/JSCover
11+
lib-cov
12+
13+
# Coverage directory used by tools like istanbul
14+
coverage
15+
16+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17+
.grunt
18+
19+
# node-waf configuration
20+
.lock-wscript
21+
22+
# Compiled binary addons (http://nodejs.org/api/addons.html)
23+
build/Release
24+
.eslintcache
25+
26+
# Dependency directory
27+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
28+
node_modules
29+
app/node_modules
30+
31+
# OSX
32+
.DS_Store
33+
34+
# flow-typed
35+
flow-typed/npm/*
36+
!flow-typed/npm/module_vx.x.x.js
37+
38+
# App packaged
39+
release
40+
app/main.prod.js
41+
app/main.prod.js.map
42+
app/renderer.prod.js
43+
app/renderer.prod.js.map
44+
app/style.css
45+
app/style.css.map
46+
dist
47+
dll
48+
main.js
49+
main.js.map
50+
51+
.idea
52+
npm-debug.log.*
53+
.*.dockerfile

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
10+
# Directory for instrumented libs generated by jscoverage/JSCover
11+
lib-cov
12+
13+
# Coverage directory used by tools like istanbul
14+
coverage
15+
16+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17+
.grunt
18+
19+
# node-waf configuration
20+
.lock-wscript
21+
22+
# Compiled binary addons (http://nodejs.org/api/addons.html)
23+
build/Release
24+
.eslintcache
25+
26+
# Dependency directory
27+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
28+
node_modules
29+
app/node_modules
30+
31+
# OSX
32+
.DS_Store
33+
34+
# flow-typed
35+
flow-typed/npm/*
36+
!flow-typed/npm/module_vx.x.x.js
37+
38+
# App packaged
39+
release
40+
app/main.prod.js
41+
app/main.prod.js.map
42+
app/renderer.prod.js
43+
app/renderer.prod.js.map
44+
app/style.css
45+
app/style.css.map
46+
dist
47+
dll
48+
main.js
49+
main.js.map
50+
51+
.idea
52+
npm-debug.log.*
53+
__snapshots__
54+
55+
# Package.json
56+
package.json
57+
.travis.yml

.eslintrc

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"parser": "babel-eslint",
3+
"parserOptions": {
4+
"sourceType": "module",
5+
"allowImportExportEverywhere": true
6+
},
7+
"extends": ["airbnb", "prettier", "prettier/flowtype", "prettier/react"],
8+
"env": {
9+
"browser": true,
10+
"node": true
11+
},
12+
"rules": {
13+
"arrow-parens": ["off"],
14+
"compat/compat": "error",
15+
"consistent-return": "off",
16+
"comma-dangle": "off",
17+
"flowtype/boolean-style": ["error", "boolean"],
18+
"flowtype/define-flow-type": "warn",
19+
"flowtype/delimiter-dangle": ["error", "never"],
20+
"flowtype/generic-spacing": ["error", "never"],
21+
"flowtype/no-primitive-constructor-types": "error",
22+
"flowtype/no-weak-types": "warn",
23+
"flowtype/object-type-delimiter": ["error", "comma"],
24+
"flowtype/require-parameter-type": "off",
25+
"flowtype/require-return-type": "off",
26+
"flowtype/require-valid-file-annotation": "off",
27+
"flowtype/semi": ["error", "always"],
28+
"flowtype/space-after-type-colon": ["error", "always"],
29+
"flowtype/space-before-generic-bracket": ["error", "never"],
30+
"flowtype/space-before-type-colon": ["error", "never"],
31+
"flowtype/union-intersection-spacing": ["error", "always"],
32+
"flowtype/use-flow-type": "error",
33+
"flowtype/valid-syntax": "error",
34+
"generator-star-spacing": "off",
35+
"import/no-unresolved": "error",
36+
"import/no-extraneous-dependencies": "off",
37+
"jsx-a11y/anchor-is-valid": "off",
38+
"no-console": "off",
39+
"no-use-before-define": "off",
40+
"no-multi-assign": "off",
41+
"promise/param-names": "error",
42+
"promise/always-return": "error",
43+
"promise/catch-or-return": "error",
44+
"promise/no-native": "off",
45+
"react/sort-comp": [
46+
"error",
47+
{
48+
"order": [
49+
"type-annotations",
50+
"static-methods",
51+
"lifecycle",
52+
"everything-else",
53+
"render"
54+
]
55+
}
56+
],
57+
"react/jsx-no-bind": "off",
58+
"react/jsx-filename-extension": [
59+
"error",
60+
{ "extensions": [".js", ".jsx"] }
61+
],
62+
"react/prefer-stateless-function": "off"
63+
},
64+
"plugins": ["flowtype", "import", "promise", "compat", "react"],
65+
"settings": {
66+
"import/resolver": {
67+
"webpack": {
68+
"config": "webpack.config.eslint.js"
69+
}
70+
}
71+
}
72+
}

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
* text eol=lf
2+
*.png binary
3+
*.jpg binary
4+
*.jpeg binary
5+
*.ico binary
6+
*.icns binary

.github/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 60
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 7
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pr
8+
- discussion
9+
- e2e
10+
- enhancement
11+
# Comment to post when marking an issue as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had
14+
recent activity. It will be closed if no further activity occurs. Thank you
15+
for your contributions.
16+
# Comment to post when closing a stale issue. Set to `false` to disable
17+
closeComment: false

.gitignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
10+
# Directory for instrumented libs generated by jscoverage/JSCover
11+
lib-cov
12+
13+
# Coverage directory used by tools like istanbul
14+
coverage
15+
16+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17+
.grunt
18+
19+
# node-waf configuration
20+
.lock-wscript
21+
22+
# Compiled binary addons (http://nodejs.org/api/addons.html)
23+
build/Release
24+
.eslintcache
25+
26+
# Dependency directory
27+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
28+
node_modules/*
29+
app/node_modules/*
30+
31+
# OSX
32+
.DS_Store
33+
34+
# flow-typed
35+
flow-typed/npm/*
36+
!flow-typed/npm/module_vx.x.x.js
37+
38+
# App packaged
39+
release
40+
app/main.prod.js
41+
app/main.prod.js.map
42+
app/renderer.prod.js
43+
app/renderer.prod.js.map
44+
app/style.css
45+
app/style.css.map
46+
dist
47+
dll
48+
main.js
49+
main.js.map
50+
51+
.idea
52+
npm-debug.log.*

.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"overrides": [
3+
{
4+
"files": [".prettierrc", ".babelrc", ".eslintrc"],
5+
"options": {
6+
"parser": "json"
7+
}
8+
}
9+
],
10+
"singleQuote": true
11+
}

.stylelintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "stylelint-config-standard"
3+
}

0 commit comments

Comments
 (0)