diff --git a/lib/demo-config.js b/lib/demo-config.js index df002ae..81dbb87 100644 --- a/lib/demo-config.js +++ b/lib/demo-config.js @@ -8,17 +8,21 @@ import fs from 'iofs' export function writePackageJson(file) { fs.echo( - JSON.stringify({ - name: 'vue-live-demo-app', - type: 'module', - scripts: { - start: 'vue-live dev', - build: 'vue-live build' + JSON.stringify( + { + name: 'vue-live-demo-app', + type: 'module', + scripts: { + start: 'vue-live dev', + build: 'vue-live build' + }, + dependencies: { + '@bytedo/vue-live': '^0.0.6' + } }, - dependencies: { - '@bytedo/vue-live': '^0.0.5' - } - }), + ' ', + 2 + ), file ) } diff --git a/lib/demo-js.js b/lib/demo-js.js index 0293308..dfe9cc4 100644 --- a/lib/demo-js.js +++ b/lib/demo-js.js @@ -61,7 +61,7 @@ import { reactive } from 'vue' const store = reactive({ foo: 'bar', - version: '0.0.5' + version: '0.0.6' }) export default function (app) { diff --git a/package.json b/package.json index e30703f..baaa80d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@bytedo/vue-live-cli", "type": "module", - "version": "0.0.3", + "version": "0.0.6", "bin": { "vue-live-cli": "index.js" },