Skip to content

Commit

Permalink
feat: implement a declarative API (fixes #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Jan 30, 2017
1 parent 8aea3d7 commit a15cf4d
Show file tree
Hide file tree
Showing 61 changed files with 2,273 additions and 1,017 deletions.
28 changes: 16 additions & 12 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
{
"env": {
"test": {
"plugins": [
"transform-flow-strip-types",
"istanbul"
]
},
"development": {
"plugins": [
"syntax-flow",
"transform-object-rest-spread",
"flow-runtime",
"transform-flow-strip-types"
]
},
"production": {
"plugins": [
"syntax-flow",
"transform-object-rest-spread",
"transform-flow-comments"
]
},
"test": {
"plugins": [
"transform-object-rest-spread",
"transform-flow-strip-types",
"istanbul"
]
}
},
"presets": [
["env", {
"targets": {
"node": 5
[
"env",
{
"targets": {
"node": 5
}
}
}]
]
]
}
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "canonical",
"extends": [
"canonical",
"canonical/flowtype"
],
"root": true,
"rules": {
"id-length": 0
Expand Down
12 changes: 4 additions & 8 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
[ignore]
<PROJECT_ROOT>/node_modules/config-chain/test/broken.json
<PROJECT_ROOT>/node_modules/conventional-changelog-core/test/fixtures/_malformation.json
<PROJECT_ROOT>/node_modules/npmconf/test/fixtures/package.json

.*/node_modules/.*/test/.*
.*/node_modules/flow-runtime/.*
.*/node_modules/babel-plugin-flow-runtime/.*

[options]
module.ignore_non_literal_requires=true
.*/node_modules/config-chain/.*
.*/node_modules/conventional-changelog-core/.*
.*/node_modules/flow-runtime/.*
.*/node_modules/npmconf/.*
Loading

0 comments on commit a15cf4d

Please sign in to comment.