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

20
.babelrc Executable file → Normal file
View File

@ -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
}]
]
} }

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 # 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*

1841
package-lock.json generated

File diff suppressed because it is too large Load Diff