Skip to content

Commit 8060768

Browse files
committed
Open source release
0 parents  commit 8060768

File tree

139 files changed

+9245
-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.

139 files changed

+9245
-0
lines changed

.dockerignore

+52
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+
30+
# OSX
31+
.DS_Store
32+
33+
# flow-typed
34+
flow-typed/npm/*
35+
!flow-typed/npm/module_vx.x.x.js
36+
37+
# App packaged
38+
release
39+
app/main.prod.js
40+
app/main.prod.js.map
41+
app/renderer.prod.js
42+
app/renderer.prod.js.map
43+
app/style.css
44+
app/style.css.map
45+
dist
46+
dll
47+
main.js
48+
main.js.map
49+
50+
.idea
51+
npm-debug.log.*
52+
.*.dockerfile

.editorconfig

+12
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

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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+
30+
# OSX
31+
.DS_Store
32+
33+
# flow-typed
34+
flow-typed/npm/*
35+
!flow-typed/npm/module_vx.x.x.js
36+
37+
# App packaged
38+
release
39+
app/main.prod.js
40+
app/main.prod.js.map
41+
app/renderer.prod.js
42+
app/renderer.prod.js.map
43+
app/style.css
44+
app/style.css.map
45+
dist
46+
dll
47+
main.js
48+
main.js.map
49+
50+
.idea
51+
npm-debug.log.*
52+
__snapshots__
53+
54+
# Package.json
55+
package.json
56+
.travis.yml

.eslintrc.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "erb",
3+
"settings": {
4+
"import/resolver": {
5+
"webpack": {
6+
"config": "configs/webpack.config.eslint.js"
7+
}
8+
}
9+
}
10+
}

.flowconfig

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[ignore]
2+
<PROJECT_ROOT>/app/main.prod.js
3+
<PROJECT_ROOT>/app/main.prod.js.map
4+
<PROJECT_ROOT>/app/dist/.*
5+
<PROJECT_ROOT>/resources/.*
6+
<PROJECT_ROOT>/node_modules/webpack-cli
7+
<PROJECT_ROOT>/release/.*
8+
<PROJECT_ROOT>/dll/.*
9+
<PROJECT_ROOT>/release/.*
10+
<PROJECT_ROOT>/git/.*
11+
12+
[include]
13+
14+
[libs]
15+
16+
[options]
17+
esproposal.class_static_fields=enable
18+
esproposal.class_instance_fields=enable
19+
esproposal.export_star_as=enable
20+
module.name_mapper.extension='css' -> '<PROJECT_ROOT>/internals/flow/CSSModule.js.flow'
21+
module.name_mapper.extension='styl' -> '<PROJECT_ROOT>/internals/flow/CSSModule.js.flow'
22+
module.name_mapper.extension='scss' -> '<PROJECT_ROOT>/internals/flow/CSSModule.js.flow'
23+
module.name_mapper.extension='png' -> '<PROJECT_ROOT>/internals/flow/WebpackAsset.js.flow'
24+
module.name_mapper.extension='jpg' -> '<PROJECT_ROOT>/internals/flow/WebpackAsset.js.flow'
25+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
26+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue

.gitattributes

+6
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/ISSUE_TEMPLATE.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<!--
2+
Is this a bug report?
3+
If so, go back and select the "Bug report" option or your issue WILL be closed.
4+
--!>
+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
name: Bug report
3+
about: You're having technical issues.
4+
labels: 'bug'
5+
---
6+
7+
<!-- Please use the following issue template or your issue will be closed. -->
8+
9+
<!--- Provide a general summary of the issue in the Title above -->
10+
11+
## Prerequisites
12+
13+
<!-- If the following boxes are not ALL checked, your issue is likely to be closed. -->
14+
15+
- [ ] Using yarn
16+
- [ ] Using node 10.x
17+
- [ ] Using an up-to-date [`master` branch](https://github.com/electron-react-boilerplate/electron-react-boilerplate/tree/master)
18+
- [ ] Using latest version of devtools. See [wiki for howto update](https://github.com/electron-react-boilerplate/electron-react-boilerplate/wiki/DevTools)
19+
- [ ] Link to stacktrace in a Gist (for bugs)
20+
- [ ] For issue in production release, devtools output of `DEBUG_PROD=true yarn build && yarn start`
21+
- [ ] Tried solutions mentioned in [#400](https://github.com/electron-react-boilerplate/electron-react-boilerplate/issues/400)
22+
23+
## Expected Behavior
24+
25+
<!--- If you're describing a bug, tell us what should happen -->
26+
<!--- If you're suggesting a change/improvement, tell us how it should work -->
27+
28+
## Current Behavior
29+
30+
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
31+
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
32+
33+
## Possible Solution
34+
35+
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
36+
<!--- or ideas how to implement the addition or change -->
37+
38+
## Steps to Reproduce (for bugs)
39+
40+
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
41+
<!--- reproduce this bug. Include code to reproduce, if relevant -->
42+
43+
1.
44+
45+
2.
46+
47+
3.
48+
49+
4.
50+
51+
## Context
52+
53+
<!--- How has this issue affected you? What are you trying to accomplish? -->
54+
<!--- Did you make any changes to the boilerplate after cloning it? -->
55+
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
56+
57+
## Your Environment
58+
59+
<!--- Include as many relevant details about the environment you experienced the bug in -->
60+
61+
- Node version :
62+
- Version or Branch used :
63+
- Operating System and version :
64+
- Link to your project :
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
name: Feature request
3+
about: You want something added to the boilerplate.
4+
labels: 'enhancement'
5+
---

.github/config.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
requiredHeaders:
2+
- Prerequisites
3+
- Expected Behavior
4+
- Current Behavior
5+
- Possible Solution
6+
- Your Environment

.github/stale.yml

+17
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

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

.prettierrc

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

.stylelintrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["stylelint-config-standard", "stylelint-config-prettier"]
3+
}

.testcafe-electron-rc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"mainWindowUrl": "./app/app.html",
3+
"appPath": "."
4+
}

0 commit comments

Comments
 (0)