update .babelrc, .gitignore, and others
This commit is contained in:
parent
29fed7099f
commit
8ffb7702ba
|
@ -1,4 +1,20 @@
|
||||||
{
|
{
|
||||||
"presets": ["es2015", "stage-2"],
|
"plugins": [
|
||||||
"plugins": ["transform-flow-strip-types"]
|
"transform-class-properties",
|
||||||
|
"transform-object-rest-spread",
|
||||||
|
"transform-react-jsx",
|
||||||
|
["transform-runtime", {
|
||||||
|
"polyfill": false,
|
||||||
|
"regenerator": true
|
||||||
|
}]
|
||||||
|
],
|
||||||
|
"presets": [
|
||||||
|
["env", {
|
||||||
|
"targets": {
|
||||||
|
"browsers": ["last 2 versions", "ie >= 9", "safari >= 7"]
|
||||||
|
},
|
||||||
|
"modules": "commonjs",
|
||||||
|
"loose": true
|
||||||
|
}]
|
||||||
|
]
|
||||||
}
|
}
|
10
.flowconfig
10
.flowconfig
|
@ -1,10 +0,0 @@
|
||||||
[ignore]
|
|
||||||
|
|
||||||
[include]
|
|
||||||
./src
|
|
||||||
|
|
||||||
[libs]
|
|
||||||
|
|
||||||
[options]
|
|
||||||
module.name_mapper.extension='less' -> '<PROJECT_ROOT>/src/flow/LessModule.js'
|
|
||||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
|
|
|
@ -1,9 +1,25 @@
|
||||||
.idea
|
# See https://help.github.com/ignore-files/ for more about ignoring files.
|
||||||
.vscode
|
|
||||||
dist
|
# dependencies
|
||||||
lib
|
/node_modules
|
||||||
downloads
|
|
||||||
node_modules
|
# testing
|
||||||
flow-typed
|
/coverage
|
||||||
*.zip
|
|
||||||
npm-debug.log
|
# production
|
||||||
|
/build
|
||||||
|
/lib
|
||||||
|
/dist
|
||||||
|
|
||||||
|
# misc
|
||||||
|
.DS_Store
|
||||||
|
.env.local
|
||||||
|
.env.development.local
|
||||||
|
.env.test.local
|
||||||
|
.env.production.local
|
||||||
|
.idea # webstorm
|
||||||
|
.vscode # visual studio code
|
||||||
|
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue