Skip to content

Commit 2debe9e

Browse files
committed
package updates
1 parent 7508360 commit 2debe9e

File tree

9 files changed

+4185
-4207
lines changed

9 files changed

+4185
-4207
lines changed

package-lock.json

Lines changed: 4154 additions & 4177 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "vue-wordpress-pwa",
33
"version": "0.0.0",
4-
"description":
5-
"An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps",
4+
"description": "An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps",
65
"repository": {
76
"type": "git",
87
"url": "git+https://github.com/bstavroulakis/vue-wordpress-pwa"
98
},
109
"engines": {
10+
"node": "8.9.3",
1111
"npm": "5.5.1"
1212
},
1313
"keywords": [
@@ -32,47 +32,46 @@
3232
"start": "cross-env NODE_ENV=production node server",
3333
"dev": "rimraf ./dist && cross-env NODE_ENV=development node server",
3434
"build": "node build/build.js",
35-
"build:server":
36-
"cross-env NODE_ENV=production webpack --config ./build/webpack.server.config.js --progress --hide-modules",
35+
"build:server": "cross-env NODE_ENV=production webpack --config ./build/webpack.server.config.js --progress --hide-modules",
3736
"test": "karma start ./test/unit/karma.conf.js --single-run",
3837
"test:watch": "karma start ./test/unit/karma.conf.js",
39-
"update:packages":
40-
"node wipe-dependencies.js && rm -rf node_modules && npm update --save-dev && npm update --save"
38+
"update:packages": "node wipe-dependencies.js && rm -rf node_modules && npm update --save-dev && npm update --save"
4139
},
4240
"optionalDependencies": {
4341
"fsevents": "*"
4442
},
4543
"dependencies": {
4644
"axios": "0.17.1",
47-
"bulma": "0.6.1",
45+
"bulma": "0.6.2",
4846
"compression": "1.7.1",
49-
"cross-env": "5.1.1",
47+
"cross-env": "5.1.3",
5048
"express": "4.16.2",
5149
"intersection-observer-polyfill": "0.1.0",
52-
"localforage": "1.5.5",
50+
"localforage": "1.5.6",
5351
"lru-cache": "4.1.1",
5452
"serialize-javascript": "1.4.0",
55-
"vue": "2.5.11",
53+
"vue": "2.5.13",
5654
"vue-clazy-load": "0.3.0",
57-
"vue-resource": "1.3.4",
55+
"vue-resource": "1.3.5",
5856
"vue-router": "3.0.1",
59-
"vue-server-renderer": "2.5.11",
57+
"vue-server-renderer": "2.5.13",
58+
"vue-style-loader": "^3.1.2",
6059
"vuex": "3.0.1",
6160
"vuex-router-sync": "5.0.0"
6261
},
6362
"devDependencies": {
6463
"babel-core": "6.26.0",
65-
"babel-eslint": "8.0.3",
64+
"babel-eslint": "8.2.1",
6665
"babel-loader": "7.1.2",
6766
"babel-preset-es2015": "6.24.1",
6867
"babel-preset-stage-2": "6.24.1",
6968
"chai": "4.1.2",
70-
"css-loader": "0.28.7",
71-
"eslint": "4.13.1",
69+
"css-loader": "0.28.9",
70+
"eslint": "4.17.0",
7271
"eslint-config-standard": "10.2.1",
7372
"eslint-friendly-formatter": "3.0.0",
7473
"eslint-loader": "1.9.0",
75-
"eslint-plugin-html": "4.0.1",
74+
"eslint-plugin-html": "4.0.2",
7675
"eslint-plugin-import": "2.8.0",
7776
"eslint-plugin-node": "5.2.1",
7877
"eslint-plugin-promise": "3.6.0",
@@ -81,15 +80,15 @@
8180
"file-loader": "1.1.6",
8281
"fs-extra": "5.0.0",
8382
"html-webpack-plugin": "2.30.1",
84-
"karma": "1.7.1",
83+
"karma": "2.0.0",
8584
"karma-mocha": "1.3.0",
8685
"karma-phantomjs-launcher": "1.0.4",
8786
"karma-sinon-chai": "1.3.3",
8887
"karma-sourcemap-loader": "0.3.7",
8988
"karma-spec-reporter": "0.0.32",
9089
"karma-webpack": "2.0.9",
9190
"md5": "2.2.1",
92-
"mocha": "4.0.1",
91+
"mocha": "5.0.0",
9392
"node-sass": "4.7.2",
9493
"phantomjs-prebuilt": "2.1.16",
9594
"purify-css": "1.2.6",
@@ -99,13 +98,13 @@
9998
"rimraf": "2.6.2",
10099
"sass-loader": "6.0.6",
101100
"serve-favicon": "2.4.5",
102-
"sinon": "4.1.3",
101+
"sinon": "4.2.2",
103102
"sinon-chai": "2.14.0",
104103
"url-loader": "0.6.2",
105-
"vue-loader": "13.6.0",
106-
"vue-template-compiler": "2.5.11",
104+
"vue-loader": "14.1.1",
105+
"vue-template-compiler": "2.5.13",
107106
"webpack": "3.10.0",
108-
"webpack-dev-middleware": "2.0.1",
107+
"webpack-dev-middleware": "2.0.4",
109108
"webpack-hot-middleware": "2.21.0"
110109
}
111110
}

src/client-entry.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
import { app } from './app'
1+
import { app, router } from './app'
22

3-
app.$mount('#app')
3+
router.onReady(() => {
4+
app.$mount('#app')
5+
})

src/theme/Category-LearningPaths.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default {
6363
}
6464
},
6565
prefetch: fetchInitialData,
66-
created () {
66+
mounted () {
6767
this.loadData()
6868
}
6969
}

src/theme/Category-Newsletter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747
}
4848
},
4949
prefetch: fetchInitialData,
50-
created () {
50+
mounted () {
5151
this.loadData()
5252
}
5353
}

src/theme/Category.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default {
5252
}
5353
},
5454
prefetch: fetchInitialData,
55-
created () {
55+
mounted () {
5656
this.loadPosts()
5757
}
5858
}

src/theme/Page.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default {
3737
}
3838
},
3939
prefetch: fetchInitialData,
40-
created () {
40+
mounted () {
4141
this.loadData()
4242
}
4343
}

src/theme/Single-LearningPaths.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default {
9090
}
9191
},
9292
prefetch: fetchInitialData,
93-
created () {
93+
mounted () {
9494
this.loadData()
9595
}
9696
}

src/theme/Single.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default {
4141
}
4242
},
4343
prefetch: fetchInitialData,
44-
created () {
44+
mounted () {
4545
this.loadData()
4646
}
4747
}

0 commit comments

Comments
 (0)