mirror of
https://github.com/501351981/vue-office.git
synced 2025-07-25 07:41:42 +08:00
修改example打包
This commit is contained in:
parent
dfe607e694
commit
5cd61318ff
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,3 +22,4 @@ pnpm-debug.log*
|
|||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
packages/**/lib
|
packages/**/lib
|
||||||
|
packages/**/README.md
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-office",
|
"name": "vue-office",
|
||||||
"version": "0.0.9",
|
"version": "0.0.12",
|
||||||
"description": "通过Vue开发的办公文档预览组件,支持docx、pdf、ppt、excel(已实现)的预览",
|
"description": "通过Vue开发的办公文档预览组件,支持docx、pdf、ppt、excel(已实现)的预览",
|
||||||
"author": "hit757",
|
"author": "hit757",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vue-office/docx",
|
"name": "@vue-office/docx",
|
||||||
"version": "0.0.10",
|
"version": "0.0.12",
|
||||||
"description": "通过Vue开发的办公文档预览组件,支持docx、pdf、ppt、excel的预览",
|
"description": "通过Vue开发的办公文档预览组件,支持docx、pdf、ppt、excel的预览",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"author": "hit757",
|
"author": "hit757",
|
||||||
@ -8,7 +8,7 @@
|
|||||||
"lib/index.js"
|
"lib/index.js"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"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",
|
"build": "vue-cli-service build --target lib --dest lib index.js && npm run copyFile",
|
||||||
"clean": "rimraf lib"
|
"clean": "rimraf lib"
|
||||||
},
|
},
|
||||||
@ -17,7 +17,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git@github.com:501351981/vue-office.git"
|
"url": "git@github.com:501351981/vue-office.git"
|
||||||
},
|
},
|
||||||
"gitHead": "efe58d42d97dbec1cd33e1f0c3100428479a6f1d",
|
"gitHead": "dfe607e694b4156f3fdc889bd1d58373d71c0224",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"rimraf": "^3.0.2"
|
"rimraf": "^3.0.2"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vue-office/excel",
|
"name": "@vue-office/excel",
|
||||||
"version": "0.0.10",
|
"version": "0.0.12",
|
||||||
"description": "通过Vue开发的办公文档预览组件,支持docx、pdf、ppt、excel的预览",
|
"description": "通过Vue开发的办公文档预览组件,支持docx、pdf、ppt、excel的预览",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"author": "hit757",
|
"author": "hit757",
|
||||||
@ -9,7 +9,7 @@
|
|||||||
"lib/index.css"
|
"lib/index.css"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"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",
|
"build": "vue-cli-service build --target lib --dest lib index.js && npm run copyFile",
|
||||||
"clean": "rimraf lib"
|
"clean": "rimraf lib"
|
||||||
},
|
},
|
||||||
@ -18,7 +18,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git@github.com:501351981/vue-office.git"
|
"url": "git@github.com:501351981/vue-office.git"
|
||||||
},
|
},
|
||||||
"gitHead": "efe58d42d97dbec1cd33e1f0c3100428479a6f1d",
|
"gitHead": "dfe607e694b4156f3fdc889bd1d58373d71c0224",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"rimraf": "^3.0.2"
|
"rimraf": "^3.0.2"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vue-office/pdf",
|
"name": "@vue-office/pdf",
|
||||||
"version": "0.0.10",
|
"version": "0.0.12",
|
||||||
"description": "通过Vue开发的办公文档预览组件,支持docx、pdf、ppt、excel的预览",
|
"description": "通过Vue开发的办公文档预览组件,支持docx、pdf、ppt、excel的预览",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"author": "hit757",
|
"author": "hit757",
|
||||||
@ -8,7 +8,7 @@
|
|||||||
"lib/index.js"
|
"lib/index.js"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"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",
|
"build": "vue-cli-service build --target lib --dest lib index.js && npm run copyFile",
|
||||||
"clean": "rimraf lib"
|
"clean": "rimraf lib"
|
||||||
},
|
},
|
||||||
@ -17,7 +17,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git@github.com:501351981/vue-office.git"
|
"url": "git@github.com:501351981/vue-office.git"
|
||||||
},
|
},
|
||||||
"gitHead": "efe58d42d97dbec1cd33e1f0c3100428479a6f1d",
|
"gitHead": "dfe607e694b4156f3fdc889bd1d58373d71c0224",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"rimraf": "^3.0.2"
|
"rimraf": "^3.0.2"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user