forked from final-form/react-final-form
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded deps, including babel plugins (final-form#350)
* Upgraded deps, including babel plugins * Removed node 8 build target * Added npm install to travis script
- Loading branch information
Showing
6 changed files
with
3,128 additions
and
2,179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.