Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
phlmn committed Feb 6, 2018
0 parents commit 0d2865b
Show file tree
Hide file tree
Showing 11 changed files with 6,482 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .babelrc
@@ -0,0 +1,31 @@
{
"env": {
"test": {
"plugins": [
["transform-es2015-modules-commonjs", { "loose": true }]
]
},
"commonjs": {
"plugins": [
["transform-es2015-modules-commonjs", { "loose": true }]
],
"ignore": [
"**/*.test.js"
]
},
"es": {
"plugins": [],
"ignore": [
"**/*.test.js"
]
},
"rollup": {
"plugins": [
"external-helpers"
],
"ignore": [
"**/*.test.js"
]
}
}
}
9 changes: 9 additions & 0 deletions .editorconfig
@@ -0,0 +1,9 @@
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
22 changes: 22 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,22 @@
{
"extends": "airbnb-base",
"rules": {
"prefer-destructuring": ["error", {
"VariableDeclarator": {
"array": true,
"object": true
},
"AssignmentExpression": {
"array": false,
"object": false
}
}, {
"enforceForRenamedProperties": false
}]
},
"env": {
"es6": true,
"browser": true,
"jest": true
}
}
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
node_modules
dist
lib
es
coverage
2 changes: 2 additions & 0 deletions jestSetup.js
@@ -0,0 +1,2 @@
// Fetch polyfill
import 'whatwg-fetch';

0 comments on commit 0d2865b

Please sign in to comment.