update .babelrc, .gitignore, and others

This commit is contained in:
jos 2017-12-26 20:46:38 +01:00
parent 29fed7099f
commit 8ffb7702ba
4 changed files with 772 additions and 1135 deletions

22
.babelrc Executable file → Normal file
View File

@ -1,4 +1,20 @@
{
"presets": ["es2015", "stage-2"],
"plugins": ["transform-flow-strip-types"]
}
"plugins": [
"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
}]
]
}

View File

@ -1,10 +0,0 @@
[ignore]
[include]
./src
[libs]
[options]
module.name_mapper.extension='less' -> '<PROJECT_ROOT>/src/flow/LessModule.js'
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe

34
.gitignore vendored
View File

@ -1,9 +1,25 @@
.idea
.vscode
dist
lib
downloads
node_modules
flow-typed
*.zip
npm-debug.log
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
/node_modules
# testing
/coverage
# 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*

1841
package-lock.json generated

File diff suppressed because it is too large Load Diff