Skip to content

Commit

Permalink
build(npm): downgrade babel
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jun 8, 2018
1 parent 66aec60 commit 071e9ca
Show file tree
Hide file tree
Showing 11 changed files with 1,249 additions and 1,412 deletions.
19 changes: 12 additions & 7 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,25 @@
"ignore": [
"interface.js"
],

"env": {
"production": {
"presets": [
"@babel/preset-flow",
["@babel/preset-env", {"modules": false}]
"flow",
["env", {"modules": false}]
],
"plugins": [
"transform-class-properties"
]
},
"test": {
"presets": [
"@babel/preset-flow",
"@babel/preset-env"
"flow",
"env"
],
"plugins": [
"transform-es2015-modules-commonjs",
"transform-class-properties"
]
}
}
}

}
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# uniconfig
Yet another one config processor. Weird. Slow. Our own.

## Install
```javascript
npm i @qiwi/uniconfig
yarn add @qiwi/uniconfig
```

## Features
* service agnostic contracts
* declarative definitions
* optional schemas
* versioning
5 changes: 5 additions & 0 deletions flow-typed/lodash-es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// @flow

declare module "lodash-es" {
declare module.exports: $Exports<"lodash">;
}
17 changes: 17 additions & 0 deletions jest.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"testEnvironment": "node",
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"<rootDir>/src/interface.js"
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.js"
],
"testMatch": [
"<rootDir>/test/**/*.js"
],
"transformIgnorePatterns": [
"/!node_modules\\/lodash-es/",
"<roodDir>/node_modules/(?!lodash-es)"
]
}
Loading

0 comments on commit 071e9ca

Please sign in to comment.