Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

Commit 94e3d76

Browse files
committed
Upgraded dependencies and moved to Babel v7 beta
1 parent 682d2a1 commit 94e3d76

File tree

6 files changed

+637
-747
lines changed

6 files changed

+637
-747
lines changed

.babelrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"presets": [
33
[
4-
"env",
4+
"@babel/preset-env",
55
{
66
"modules": false
77
}
88
],
9-
"stage-2"
9+
"@babel/preset-stage-2"
1010
],
11-
"plugins": ["external-helpers", "babel-plugin-transform-flow-strip-types"]
11+
"plugins": ["@babel/plugin-transform-flow-strip-types"]
1212
}

bin/push.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/push.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,36 +24,35 @@
2424
},
2525
"homepage": "https://github.com/Nickersoft/push.js",
2626
"devDependencies": {
27-
"babel-core": "^6.26.0",
28-
"babel-plugin-external-helpers": "^6.22.0",
29-
"babel-plugin-transform-flow-strip-types": "^6.22.0",
30-
"babel-plugin-transform-strict-mode": "^6.24.1",
31-
"babel-polyfill": "^6.26.0",
32-
"babel-preset-env": "^1.6.1",
33-
"babel-preset-stage-2": "^6.24.1",
27+
"@babel/core": "^7.0.0-beta.34",
28+
"@babel/plugin-transform-flow-strip-types": "^7.0.0-beta.34",
29+
"@babel/plugin-transform-strict-mode": "^7.0.0-beta.34",
30+
"@babel/polyfill": "^7.0.0-beta.34",
31+
"@babel/preset-env": "^7.0.0-beta.34",
32+
"@babel/preset-stage-2": "^7.0.0-beta.34",
3433
"browserify": "^14.5.0",
3534
"coveralls": "^3.0.0",
36-
"flow-bin": "^0.60.0",
35+
"flow-bin": "^0.60.1",
3736
"husky": "^0.14.3",
3837
"jasmine-core": "^2.8.0",
3938
"js-yaml": "^3.10.0",
4039
"karma": "^1.7.1",
4140
"karma-browserstack-launcher": "^1.3.0",
4241
"karma-coverage": "^1.1.1",
43-
"karma-jasmine": "^1.1.0",
42+
"karma-jasmine": "^1.1.1",
4443
"karma-mocha-reporter": "^2.2.5",
4544
"karma-sourcemap-loader": "^0.3.7",
4645
"lint-staged": "^6.0.0",
4746
"platform": "^1.3.4",
48-
"prettier": "^1.7.4",
47+
"prettier": "^1.8.2",
4948
"rimraf": "^2.6.2",
5049
"rollup": "^0.52.0",
5150
"rollup-plugin-alias": "^1.4.0",
52-
"rollup-plugin-babel": "^3.0.2",
53-
"rollup-plugin-commonjs": "^8.2.5",
51+
"rollup-plugin-babel": "^4.0.0-beta.0",
52+
"rollup-plugin-commonjs": "^8.2.6",
5453
"rollup-plugin-node-resolve": "^3.0.0",
5554
"rollup-plugin-uglify": "^2.0.1",
56-
"uglify-es": "^3.1.5"
55+
"uglify-es": "^3.2.1"
5756
},
5857
"lint-staged": {
5958
"*.{js,json,css}": ["prettier --write", "git add"]

tests/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = function(config) {
4545
// list of files / patterns to load in the browser
4646
files: [
4747
'./node_modules/platform/platform.js',
48-
'./node_modules/babel-polyfill/dist/polyfill.min.js',
48+
'./node_modules/@babel/polyfill/dist/polyfill.min.js',
4949
'./bin/push.min.js',
5050
'./tests/push.tests.js',
5151
'./src/serviceWorker.min.js'

0 commit comments

Comments
 (0)