-
Notifications
You must be signed in to change notification settings - Fork 54
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 f6073f2
Showing
109 changed files
with
150,644 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,15 @@ | ||
{ | ||
"presets": [ | ||
["env", { | ||
"modules": false, | ||
"targets": { "browsers": ["ie >= 10", "> 5%"] } | ||
}] | ||
], | ||
"plugins": [ | ||
"react-hot-loader/babel", | ||
"transform-runtime", | ||
"transform-react-jsx", | ||
"transform-object-rest-spread", | ||
[ "react-css-modules", { "generateScopedName": "[local]___[hash:base64: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,13 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.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,34 @@ | ||
{ | ||
"extends": "airbnb-base", | ||
"parser": "babel-eslint", | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"rules": { | ||
"comma-dangle": 0, | ||
"import/imports-first": 0, | ||
"global-require": 0, | ||
"class-methods-use-this": 0, | ||
"arrow-body-style": [2, "as-needed"], | ||
"arrow-parens": ["error", "always"], | ||
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }], | ||
"no-debugger": 0, | ||
"no-console": 0, | ||
"new-cap": 0, | ||
"strict": 0, | ||
"no-param-reassign": ["error", { "props": false }], | ||
"no-underscore-dangle": 0, | ||
"no-use-before-define": 0, | ||
"eol-last": 0, | ||
"quotes": [2, "single"], | ||
"jsx-quotes": [0, "prefer-single"], | ||
"react/jsx-no-undef": 1, | ||
"react/jsx-uses-react": 1, | ||
"react/jsx-uses-vars": 1 | ||
} | ||
} |
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 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
.idea | ||
.DS_Store | ||
dist |
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 @@ | ||
{ | ||
"extends": ["stylelint-config-standard", "stylelint-config-css-modules"], | ||
"rules": { | ||
"color-named": "never", | ||
"font-family-name-quotes": "always-where-required", | ||
"font-weight-notation": "named-where-possible", | ||
"function-url-no-scheme-relative": true, | ||
"function-url-quotes": "always", | ||
"string-quotes": "single", | ||
"value-keyword-case": "lower", | ||
"unit-blacklist": [], | ||
"max-empty-lines": 2, | ||
"no-descending-specificity": true, | ||
"no-duplicate-selectors": true, | ||
"at-rule-no-unknown": [true, { | ||
ignoreAtRules: ["use", "for"] | ||
}] | ||
}, | ||
"ignoreFiles": ["node_modules/*", "src/assets/**"], | ||
"defaultSeverity": "error" | ||
} |
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,32 @@ | ||
# Frontend static boilerplate | ||
|
||
A simple boilerplate to create static frontend applications. | ||
|
||
### Stack | ||
|
||
- **React** | ||
- **Redux [ducks](https://github.com/erikras/ducks-modular-redux)** | ||
- **Redux Saga** | ||
- **Webpack 3** | ||
- **I18next** | ||
- **[Seamless Immutable](https://github.com/rtfeldman/seamless-immutable)** | ||
|
||
### Scripts | ||
|
||
``npm install`` | ||
|
||
``npm start`` - start application in development mode | ||
|
||
``npm run build`` - build application into `/dist` directory | ||
|
||
``npm run eslint`` - run eslint | ||
|
||
``npm run stylelint`` - run stylelint | ||
|
||
### Example | ||
|
||
Source code contains an example of a simple counter that is in the application store. To demonstrate side-effects during actions, a console.log when is firing. | ||
|
||
______________________________ | ||
|
||
[Jincor Tech](https://github.com/JincorTech) |
Oops, something went wrong.