-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Coriolis with Atomic design implementation
Includes: Alt Flux data flow framework Jest testing framework Storybook Styled Components
- Loading branch information
1 parent
d63c8ea
commit 0d39a85
Showing
619 changed files
with
28,768 additions
and
23,124 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 |
---|---|---|
@@ -1,11 +1,44 @@ | ||
{ | ||
"presets": [ | ||
"es2015", | ||
"stage-0", | ||
[ | ||
"env", | ||
{ | ||
"modules": false | ||
} | ||
], | ||
"react", | ||
"babel-preset-jest" | ||
"stage-1" | ||
], | ||
"plugins": [ | ||
"transform-runtime" | ||
] | ||
} | ||
"react-hot-loader/babel" | ||
], | ||
"env": { | ||
"development": { | ||
"plugins": [ | ||
"transform-es2015-modules-commonjs", | ||
[ | ||
"styled-components", | ||
{ | ||
"minify": false | ||
} | ||
] | ||
] | ||
}, | ||
"test": { | ||
"plugins": [ | ||
"transform-es2015-modules-commonjs" | ||
] | ||
}, | ||
"production": { | ||
"plugins": [ | ||
"transform-react-remove-prop-types", | ||
[ | ||
"styled-components", | ||
{ | ||
"displayName": false | ||
} | ||
] | ||
] | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
|
||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# We recommend you to keep these unchanged | ||
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 |
---|---|---|
@@ -1 +1 @@ | ||
src/__tests__ | ||
server.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 |
---|---|---|
@@ -1,26 +1,48 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": "airbnb", | ||
"extends": [ | ||
"airbnb" | ||
], | ||
"env": { | ||
"browser": true, | ||
"jest": true | ||
}, | ||
"globals": { | ||
"__DEV__": true | ||
"__DEV__": true, | ||
"__PROD__": true, | ||
"__DEBUG__": true, | ||
"__COVERAGE__": true, | ||
"__BASENAME__": true | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"webpack": { | ||
"config": "webpack.config.js" | ||
} | ||
} | ||
}, | ||
"rules": { | ||
"no-confusing-arrow": 0, | ||
"react/jsx-quotes": 0, | ||
"jsx-quotes": [2, "prefer-double"], | ||
"comma-dangle": 0, | ||
"semi": 0, | ||
"quotes": 0, | ||
"eqeqeq": 0, | ||
"semi": [2, "never"], | ||
"comma-dangle": [2, "always-multiline"], | ||
"class-methods-use-this": 0, | ||
"max-len": 0, | ||
"prefer-const": 0, | ||
"max-len": ["error", 120], | ||
"react/jsx-no-bind": 0, | ||
"prefer-template": 0, | ||
"object-shorthand": 0, | ||
"arrow-parens": 0, | ||
"react/prefer-stateless-function": 0, | ||
"react/no-array-index-key": 0, | ||
"no-param-reassign": 0, | ||
"no-else-return": 0, | ||
"guard-for-in": 0, | ||
"no-nested-ternary": 0, | ||
"no-case-declarations": 0 | ||
"no-shadow": 0, | ||
"arrow-body-style": 0, | ||
"global-require": 0, | ||
"no-unused-expressions": 0, | ||
"no-confusing-arrow": 0, | ||
"import/no-dynamic-require": 0, | ||
"import/no-unresolved": 0, | ||
"import/extensions": 0, | ||
"import/no-extraneous-dependencies": 0, | ||
"import/prefer-default-export": 0, | ||
"react/require-default-props": 0, | ||
"react/forbid-prop-types": 0, | ||
"jsx-a11y/href-no-hash": 0 | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,11 +1,6 @@ | ||
# Include your project-specific ignores in this file | ||
# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files | ||
|
||
build | ||
.DS_Store | ||
.happypack | ||
dist | ||
*.log | ||
node_modules | ||
ncp-debug.log | ||
npm-debug.log | ||
.idea | ||
yarn.lock | ||
src/config.js | ||
.DS_Store | ||
.vscode |
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 |
---|---|---|
@@ -1,21 +1,13 @@ | ||
FROM node:7.9.0-alpine | ||
FROM node:9.2.0 | ||
|
||
# Set a working directory | ||
WORKDIR /usr/src/app | ||
|
||
COPY ./build/package.json . | ||
COPY yarn.lock . | ||
RUN curl -o- -L https://yarnpkg.com/install.sh | bash | ||
|
||
# Set CORIOLIS_URL | ||
ENV CORIOLIS_URL http://127.0.0.1 | ||
COPY ./src/config.sample.js ./src/config.js | ||
|
||
# Install Node.js dependencies | ||
RUN yarn install --production --no-progress | ||
WORKDIR /usr/src/app | ||
COPY . . | ||
|
||
# Copy application files | ||
COPY ./build . | ||
RUN yarn install --production | ||
RUN yarn build | ||
|
||
EXPOSE 3000 | ||
ENTRYPOINT [ "node", "server.js" ] | ||
|
||
CMD [ "node", "server.js" ] | ||
EXPOSE 3000 |
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
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
Oops, something went wrong.