Skip to content

Commit

Permalink
Merge pull request #11 from wesleyboar/feature/3-create-react-version
Browse files Browse the repository at this point in the history
Feature/3 create react version
  • Loading branch information
wesleyboar authored Oct 9, 2019
2 parents 5df472f + 641a1df commit f803683
Show file tree
Hide file tree
Showing 29 changed files with 1,880 additions and 220 deletions.
10 changes: 9 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
// SEE: https://rollupjs.org/guide/en/#babel
{
"plugins": [
["transform-inline-environment-variables", {
"include": [
"NODE_ENV"
]
}]
],
"presets": [
["@babel/env", {"modules": false }]
["@babel/env", {"modules": false }],
["@babel/preset-react", {"modules": false }]
]
}
3 changes: 2 additions & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Supported Browsers

last 2 versions
# i.e. "defaults" as of 2019
> 0.5%, last 2 versions, Firefox ESR, not dead
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"browser": true
},
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"root": true
}
6 changes: 6 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- TODO: Migrate component styles to React components.
- TODO: Split project into packages:
- parent `package.json` (shared code)
- children `package.json`'s (app-specific code)
- TODO: Create test cases for each component.
- See [Testing Recipies #Rendering - React](https://reactjs.org/docs/testing-recipes.html#rendering)
Loading

0 comments on commit f803683

Please sign in to comment.