修改example打包

This commit is contained in:
liyulin 2023-01-04 19:11:33 +08:00
parent dfe607e694
commit 5cd61318ff
5 changed files with 11 additions and 10 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@ pnpm-debug.log*
*.sln
*.sw?
packages/**/lib
packages/**/README.md

View File

@ -1,6 +1,6 @@
{
"name": "vue-office",
"version": "0.0.9",
"version": "0.0.12",
"description": "通过Vue开发的办公文档预览组件支持docx、pdf、ppt、excel(已实现)的预览",
"author": "hit757",
"scripts": {

View File

@ -1,6 +1,6 @@
{
"name": "@vue-office/docx",
"version": "0.0.10",
"version": "0.0.12",
"description": "通过Vue开发的办公文档预览组件支持docx、pdf、ppt、excel的预览",
"main": "lib/index.js",
"author": "hit757",
@ -8,7 +8,7 @@
"lib/index.js"
],
"scripts": {
"copyFile": "cp lib/docx.umd.min.js lib/index.js",
"copyFile": "cp lib/docx.umd.min.js lib/index.js && cp ../../README.md README.md",
"build": "vue-cli-service build --target lib --dest lib index.js && npm run copyFile",
"clean": "rimraf lib"
},
@ -17,7 +17,7 @@
"type": "git",
"url": "git@github.com:501351981/vue-office.git"
},
"gitHead": "efe58d42d97dbec1cd33e1f0c3100428479a6f1d",
"gitHead": "dfe607e694b4156f3fdc889bd1d58373d71c0224",
"dependencies": {
"rimraf": "^3.0.2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@vue-office/excel",
"version": "0.0.10",
"version": "0.0.12",
"description": "通过Vue开发的办公文档预览组件支持docx、pdf、ppt、excel的预览",
"main": "lib/index.js",
"author": "hit757",
@ -9,7 +9,7 @@
"lib/index.css"
],
"scripts": {
"copyFile": "cp src/index.css lib/index.css && cp lib/excel.umd.min.js lib/index.js",
"copyFile": "cp src/index.css lib/index.css && cp lib/excel.umd.min.js lib/index.js && cp ../../README.md README.md",
"build": "vue-cli-service build --target lib --dest lib index.js && npm run copyFile",
"clean": "rimraf lib"
},
@ -18,7 +18,7 @@
"type": "git",
"url": "git@github.com:501351981/vue-office.git"
},
"gitHead": "efe58d42d97dbec1cd33e1f0c3100428479a6f1d",
"gitHead": "dfe607e694b4156f3fdc889bd1d58373d71c0224",
"dependencies": {
"rimraf": "^3.0.2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@vue-office/pdf",
"version": "0.0.10",
"version": "0.0.12",
"description": "通过Vue开发的办公文档预览组件支持docx、pdf、ppt、excel的预览",
"main": "lib/index.js",
"author": "hit757",
@ -8,7 +8,7 @@
"lib/index.js"
],
"scripts": {
"copyFile": "cp lib/pdf.umd.min.js lib/index.js",
"copyFile": "cp lib/pdf.umd.min.js lib/index.js && cp ../../README.md README.md",
"build": "vue-cli-service build --target lib --dest lib index.js && npm run copyFile",
"clean": "rimraf lib"
},
@ -17,7 +17,7 @@
"type": "git",
"url": "git@github.com:501351981/vue-office.git"
},
"gitHead": "efe58d42d97dbec1cd33e1f0c3100428479a6f1d",
"gitHead": "dfe607e694b4156f3fdc889bd1d58373d71c0224",
"dependencies": {
"rimraf": "^3.0.2"
}