Skip to content

Commit

Permalink
Bump MINOR version and babel dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nifgraup committed Feb 14, 2020
1 parent d5fe8ea commit 2214045
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"presets": [
["env", {
["@babel/preset-env", {
"targets": {
"node": "7.0.0",
"browsers": ["last 2 Chrome versions"]
Expand Down
3 changes: 1 addition & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"stopOnEntry": false,
"args": [
"./src/*-unit.js",
"--require", "babel-register",
"--require", "babel-polyfill",
"--require", "@babel/register",
"testutils.js",
"--reporter", "spec",
"--no-timeouts"
Expand Down
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emailjs-imap-client",
"version": "3.0.7",
"version": "3.1.0",
"homepage": "https://github.com/emailjs/emailjs-imap-client",
"description": "JavaScript IMAP client",
"author": "Andris Reinman <[email protected]>",
Expand All @@ -13,8 +13,8 @@
"lint": "$(npm bin)/standard",
"preversion": "npm run build",
"test": "npm run lint && npm run unit && npm run integration",
"unit": "$(npm bin)/mocha './src/*-unit.js' --reporter spec --require babel-register --require babel-polyfill testutils.js",
"integration": "$(npm bin)/mocha './src/*-integration.js' --reporter spec --require babel-register --require babel-polyfill testutils.js",
"unit": "$(npm bin)/mocha './src/*-unit.js' --reporter spec --require @babel/register testutils.js",
"integration": "$(npm bin)/mocha './src/*-integration.js' --reporter spec --require @babel/register testutils.js",
"build-worker": "./scripts/worker.sh"
},
"repository": {
Expand All @@ -33,13 +33,11 @@
"ramda": "^0.26.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"@babel/register": "^7.8.3",
"babel-loader": "^8.0.6",
"babel-plugin-inline-import": "^3.0.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"chai": "^4.2.0",
"hoodiecrow-imap": "^2.1.0",
"mocha": "^7.0.1",
Expand Down
2 changes: 1 addition & 1 deletion scripts/worker.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

rm $PWD/res/compression.worker.blob
rm -f $PWD/res/compression.worker.blob
webpack -p
mv $PWD/res/compression.worker.js $PWD/res/compression.worker.blob
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
use: {
loader: 'babel-loader',
options: {
presets: ['babel-preset-env']
presets: ['@babel/preset-env']
}
}
}]
Expand Down

0 comments on commit 2214045

Please sign in to comment.