Skip to content

Commit

Permalink
Update babel dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
itsfadnis committed Mar 22, 2018
1 parent 700ce69 commit c332aa4
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .babelrc
@@ -0,0 +1,7 @@
{
"presets": ["@babel/preset-env"],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties"
]
}
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.11",
"main": "dist/index.js",
"scripts": {
"build": "babel src --presets @babel/preset-env --plugins @babel/plugin-proposal-object-rest-spread --out-dir dist",
"build": "babel src --out-dir dist",
"test": "jest",
"lint": "eslint src test",
"prepublish": "npm run build"
Expand All @@ -18,7 +18,10 @@
"devDependencies": {
"@babel/cli": "^7.0.0-beta.42",
"@babel/core": "^7.0.0-beta.42",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.42",
"@babel/preset-env": "^7.0.0-beta.42",
"babel-core": "^7.0.0-0",
"babel-jest": "^22.4.3",
"eslint": "^4.18.2",
"jest": "^23.0.0-alpha.0"
},
Expand Down
44 changes: 40 additions & 4 deletions yarn.lock
Expand Up @@ -209,6 +209,14 @@
"@babel/helper-remap-async-to-generator" "7.0.0-beta.42"
"@babel/plugin-syntax-async-generators" "7.0.0-beta.42"

"@babel/plugin-proposal-class-properties@^7.0.0-beta.42":
version "7.0.0-beta.42"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.0.0-beta.42.tgz#2cd29050ab997567071b65896f92afc08a620748"
dependencies:
"@babel/helper-function-name" "7.0.0-beta.42"
"@babel/helper-plugin-utils" "7.0.0-beta.42"
"@babel/plugin-syntax-class-properties" "7.0.0-beta.42"

"@babel/plugin-proposal-object-rest-spread@7.0.0-beta.42":
version "7.0.0-beta.42"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.42.tgz#56ebd55a8268165cb7cb43a5a232b60f5435a822"
Expand Down Expand Up @@ -237,6 +245,12 @@
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.42"

"@babel/plugin-syntax-class-properties@7.0.0-beta.42":
version "7.0.0-beta.42"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.0.0-beta.42.tgz#80ccce27907f22d0ffb49721e9d2cde311b41459"
dependencies:
"@babel/helper-plugin-utils" "7.0.0-beta.42"

"@babel/plugin-syntax-object-rest-spread@7.0.0-beta.42":
version "7.0.0-beta.42"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0-beta.42.tgz#aa789865abe78a4895d4a0be9de4d34b1a1d5063"
Expand Down Expand Up @@ -766,6 +780,10 @@ babel-core@^6.0.0, babel-core@^6.26.0:
slash "^1.0.0"
source-map "^0.5.6"

babel-core@^7.0.0-0:
version "7.0.0-bridge.0"
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece"

babel-generator@^6.18.0, babel-generator@^6.26.0:
version "6.26.1"
resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"
Expand All @@ -786,6 +804,13 @@ babel-helpers@^6.24.1:
babel-runtime "^6.22.0"
babel-template "^6.24.1"

babel-jest@^22.4.3:
version "22.4.3"
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-22.4.3.tgz#4b7a0b6041691bbd422ab49b3b73654a49a6627a"
dependencies:
babel-plugin-istanbul "^4.1.5"
babel-preset-jest "^22.4.3"

babel-jest@^23.0.0-alpha.0:
version "23.0.0-alpha.0"
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-23.0.0-alpha.0.tgz#a19c6bff78d7012a2e01e698ae56a8bd3e8cb2f6"
Expand All @@ -807,6 +832,10 @@ babel-plugin-istanbul@^4.1.5:
istanbul-lib-instrument "^1.7.5"
test-exclude "^4.1.1"

babel-plugin-jest-hoist@^22.4.3:
version "22.4.3"
resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.4.3.tgz#7d8bcccadc2667f96a0dcc6afe1891875ee6c14a"

babel-plugin-jest-hoist@^23.0.0-alpha.0:
version "23.0.0-alpha.0"
resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-23.0.0-alpha.0.tgz#9d3e334679db15795de6b7df46b04bdb2d191869"
Expand All @@ -815,6 +844,13 @@ babel-plugin-syntax-object-rest-spread@^6.13.0:
version "6.13.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5"

babel-preset-jest@^22.4.3:
version "22.4.3"
resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-22.4.3.tgz#e92eef9813b7026ab4ca675799f37419b5a44156"
dependencies:
babel-plugin-jest-hoist "^22.4.3"
babel-plugin-syntax-object-rest-spread "^6.13.0"

babel-preset-jest@^23.0.0-alpha.0:
version "23.0.0-alpha.0"
resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-23.0.0-alpha.0.tgz#bb7c274b82ae75303ea368c34c97eb34490417d3"
Expand Down Expand Up @@ -1154,8 +1190,8 @@ combined-stream@1.0.6, combined-stream@^1.0.5, combined-stream@~1.0.5:
delayed-stream "~1.0.0"

commander@^2.8.1:
version "2.15.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.0.tgz#ad2a23a1c3b036e392469b8012cec6b33b4c1322"
version "2.15.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"

compare-versions@^3.1.0:
version "3.1.0"
Expand Down Expand Up @@ -3539,8 +3575,8 @@ resolve@1.1.7:
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"

resolve@^1.3.2:
version "1.5.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36"
version "1.6.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.6.0.tgz#0fbd21278b27b4004481c395349e7aba60a9ff5c"
dependencies:
path-parse "^1.0.5"

Expand Down

0 comments on commit c332aa4

Please sign in to comment.