test windows
parent
b065e24abe
commit
b486f0c7a6
2
index.js
2
index.js
|
@ -28,7 +28,7 @@ import {
|
||||||
} from './lib/demo-js.js'
|
} from './lib/demo-js.js'
|
||||||
|
|
||||||
const CURRENT_DIR = process.cwd()
|
const CURRENT_DIR = process.cwd()
|
||||||
const root = dirname(import.meta.url.slice(7))
|
const root = dirname(import.meta.url.slice(process.platform === 'win32' ? 10 : 7))
|
||||||
const { version } = JSON.parse(fs.cat(join(root, './package.json')))
|
const { version } = JSON.parse(fs.cat(join(root, './package.json')))
|
||||||
|
|
||||||
const DEFAULT_NAME = 'vue-live-app'
|
const DEFAULT_NAME = 'vue-live-app'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "create-vue-live",
|
"name": "create-vue-live",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.9",
|
"version": "0.0.10",
|
||||||
"bin": {
|
"bin": {
|
||||||
"create-vue-live": "index.js"
|
"create-vue-live": "index.js"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue