Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

updated all packages in package.json #147

Merged
merged 5 commits into from
Apr 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# JetBrains project files
.idea
yarn.lock
10 changes: 3 additions & 7 deletions template/app/main.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
import Vue from 'nativescript-vue'
import App from './components/App'
{{#devtools}}import VueDevtools from 'nativescript-vue-devtools'

{{#store}}import store from './store'{{/store}}
{{#devtools}}import VueDevtools from 'nativescript-vue-devtools'{{/devtools}}

{{#devtools}}
if(TNS_ENV !== 'production') {
Vue.use(VueDevtools)
}
{{/devtools}}

{{#store}}import store from './store'{{/store}}

// Prints Vue logs when --env.production is *NOT* set while building
Vue.config.silent = (TNS_ENV === 'production')
// Prints Colored logs when --env.production is *NOT* set while building
Vue.config.debug = (TNS_ENV !== 'production')

{{#if_eq preset "SideDrawer"}}
Vue.registerElement(
Expand Down
9 changes: 2 additions & 7 deletions template/app/main.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
import Vue from 'nativescript-vue'
import App from './components/App'
{{#devtools}}import VueDevtools from 'nativescript-vue-devtools'

{{#store}}import store from './store'{{/store}}
{{#devtools}}import VueDevtools from 'nativescript-vue-devtools'{{/devtools}}

{{#devtools}}
if(TNS_ENV !== 'production') {
Vue.use(VueDevtools)
}
{{/devtools}}
{{#store}}import store from './store'{{/store}}

// Prints Vue logs when --env.production is *NOT* set while building
Vue.config.silent = (TNS_ENV === 'production')
// Prints Colored logs when --env.production is *NOT* set while building
// @ts-ignore
Vue.config.debug = (TNS_ENV !== 'production')

{{#if_eq preset "SideDrawer"}}
Vue.registerElement(
Expand Down
38 changes: 19 additions & 19 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,35 @@
"id": "{{ app_id }}",
"templateVersion": "v2",
"tns-android": {
"version": "6.0.0"
"version": "6.5.0"
},
"tns-ios": {
"version": "6.0.1"
"version": "6.5.0"
}
},
"dependencies": { {{#store}}
"vuex": "^3.1.1",{{/store}}{{#devtools}}
"@vue/devtools": "^5.0.6",
"nativescript-socketio": "^3.2.1",
"nativescript-vue-devtools": "^1.2.0",
"nativescript-toasty": "^1.3.0",{{/devtools}}{{#if_eq preset "SideDrawer"}}
"nativescript-ui-sidedrawer": "^7.0.0",{{/if_eq}}{{#unless_eq color_scheme "none"}}
"@vue/devtools": "^5.3.3",
"nativescript-socketio": "^3.3.1",
"nativescript-vue-devtools": "^1.4.0",
"nativescript-toasty": "^3.0.0-alpha.2",{{/devtools}}{{#if_eq preset "SideDrawer"}}
"nativescript-ui-sidedrawer": "^8.0.1",{{/if_eq}}{{#unless_eq color_scheme "none"}}
"@nativescript/theme": "^2.2.1",{{/unless_eq}}
"nativescript-vue": "^2.5.0",
"tns-core-modules": "^6.0.0"
"nativescript-vue": "^2.6.0",
"tns-core-modules": "^6.5.1"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-loader": "^8.0.2",
"nativescript-dev-webpack": "^1.0.0",
"nativescript-vue-template-compiler": "^2.5.0",
"nativescript-worker-loader": "~0.9.0",
"node-sass": "^4.9.2",{{#if_eq lang "typescript"}}
"tns-platform-declarations": "^6.0.0",
"typescript": "^3.2.4",
"@types/node": "^12.12.16",
"vue": "^2.5.22",{{/if_eq}}
"vue-loader": "^15.4.0"
"babel-loader": "^8.1.0",
"nativescript-dev-webpack": "^1.5.1",
"nativescript-vue-template-compiler": "^2.6.0",
"nativescript-worker-loader": "~0.11.0",
"node-sass": "^4.13.1",{{#if_eq lang "typescript"}}
"tns-platform-declarations": "^6.5.1",
"typescript": "^3.8.3",
"@types/node": "^13.11.1",
"vue": "^2.6.11",{{/if_eq}}
"vue-loader": "^15.9.1"
}
}