I've installed this boilerplate with Electron and Vuetify frameworks included: https://github.com/vuetifyjs/electron
Questions:
Should I now manually change those versions in the package.json
to the latest and run npm install
again?
"dependencies": {
"vue": "^2.4.2",
"vuetify": "0.17.4",
"vue-electron": "^1.0.6",
[...]
},
"devDependencies": {
"electron": "^1.7.5",
[...]
}
Why do those dependencies have that ^
symbol if they still don't download the latest version?
The boilerplate has this code in one of the components and it's displaying the installed versions:
<script>
export default {
data () {
return {
electron: process.versions['atom-shell'],
node: process.versions.node,
vue: require('vue/package.json').version
}
}
}
</script>
It shows that it uses the latest version of vuejs (v2.5.13) but ancient versions of node and electron:
Electron: 1.7.10
even though in thepackage.json
I see"electron": "^1.7.5"
while the latest version is1.8.2
. Why is that?And
Node: 7.9.0
which I don't even see it in thepackage.json
. How do I update it to9.5.0
? I suppose, updating Electron will update node automatically, is that how it works?