Skip to content

Commit

Permalink
Added babel and flow setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kentandersen committed Mar 9, 2018
1 parent e8bf215 commit 418306e
Show file tree
Hide file tree
Showing 7 changed files with 2,613 additions and 58 deletions.
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-stage-2",
"@babel/preset-flow"
]
}
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# editorconfig.org

root = true

[*]
indent_style = space
indent_size = 4
charset = utf-8
13 changes: 13 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[ignore]

[include]

[libs]
flow-typed

[lints]

[options]


[strict]
59 changes: 1 addition & 58 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,59 +1,2 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

lib/
Loading

0 comments on commit 418306e

Please sign in to comment.