Skip to content

Commit

Permalink
Upgraded deps, including babel plugins (final-form#350)
Browse files Browse the repository at this point in the history
* Upgraded deps, including babel plugins

* Removed node 8 build target

* Added npm install to travis script
  • Loading branch information
erikras authored Oct 10, 2018
1 parent 0d7799c commit 7dc87c1
Show file tree
Hide file tree
Showing 6 changed files with 3,128 additions and 2,179 deletions.
29 changes: 24 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,21 +1,40 @@
{
"presets": [
[
"env",
"@babel/preset-env",
{
"loose": true,
"targets": {
"node": "8"
}
}
],
"react",
"stage-2"
"@babel/preset-react",
"@babel/preset-flow"
],
"env": {
"test": {
"plugins": ["transform-react-jsx-source", "istanbul"]
"plugins": [
"@babel/plugin-transform-react-jsx-source",
"istanbul"
]
}
},
"plugins": ["transform-flow-strip-types"]
"plugins": [
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions"
]
}
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
sudo: false
language: node_js
before_install:
- npm install -g npm@6.4.0
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '9'
- '10'
- '8'
- 'stable'
script:
- npm start validate
after_success:
- npx codecov
# - npm install --global semantic-release
# - semantic-release pre && npm publish && semantic-release post
branches:
only:
- master
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

✅ Opt-in subscriptions - only update on the state you need!

✅ 💥 [**3.1k gzipped**](https://bundlephobia.com/result?p=react-final-form) 💥
✅ 💥 [**3.0k gzipped**](https://bundlephobia.com/result?p=react-final-form) 💥

---

Expand Down
Loading

0 comments on commit 7dc87c1

Please sign in to comment.