Skip to content

Commit

Permalink
🔧move to CRA and improve dev tools
Browse files Browse the repository at this point in the history
- update knit
- add rollup for umd
- add create-react-app, prettier, huskey, lint-staged, removes custom configs
- run code through prettier
- add deploy step to gh-pages
- use NODE_PATH with CRA
- add .env file
- remove top level lint command since yarn does not install subdep bins properly
  • Loading branch information
shanewilson committed May 29, 2017
1 parent ebcd97e commit 9dae1b9
Show file tree
Hide file tree
Showing 37 changed files with 13,919 additions and 2,402 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["@knit/socks-react"]
"presets": ["react-app"]
}
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NODE_PATH=src/packages
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules
dist
build
12 changes: 11 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
module.exports = {
extends: "@knit/socks-react",
extends: [
"react-app",
'prettier',
'prettier/flowtype',
],
plugins: [
'prettier',
],
rules: {
"prettier/prettier": 1
}
};
4 changes: 4 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
.*/node_modules/fbjs/.*
.*/node_modules/.*/test/.*
.*/dist/.*
*./build/.*
.*/.history/.*

[options]
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=src/packages
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
suppress_comment=\\(.\\|\n\\)*\\$FlowIgnore
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ coverage

# build folders
dist
build

# OS
.DS_Store
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
---
git:
depth: 10
language: node_js
node_js:
- "6"
- "6"
cache: yarn
notification:
email: false
install:
- yarn
script:
- yarn lint
- yarn lint
13 changes: 0 additions & 13 deletions modules/node_modules/@oncojs/react-sapien/index.js

This file was deleted.

33 changes: 0 additions & 33 deletions modules/node_modules/@oncojs/sapien/colorCodes.js

This file was deleted.

Loading

0 comments on commit 9dae1b9

Please sign in to comment.