You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
2.4 KiB
101 lines
2.4 KiB
{
|
|
"name": "gxd-file-preview",
|
|
"version": "1.2.1",
|
|
"private": false,
|
|
"description": "vue 文件在线预览展示功能,支持文件(PDF,PNG,JPEG,JPG,GIF,DOC,DOCX,PPT,PPTX,XLS,XLSX,JSON,TXT,JS,HTML,CSS)",
|
|
"scripts": {
|
|
"library": "vue-cli-service build --no-clean --target lib --name gxd --dest lib --entry src/install.js",
|
|
"library:dev": "vue-cli-service build --no-clean --target lib --name gxdSource --dest lib --entry src/install.js",
|
|
"remove": " rm ./lib/gxd.common.js && rm ./lib/gxd.umd.js && rm ./lib/demo.html",
|
|
"build": "npm run library && npm run remove",
|
|
"dev": "vue-cli-service serve",
|
|
"lint": "vue-cli-service lint"
|
|
},
|
|
"dependencies": {
|
|
"core-js": "^2.6.10",
|
|
"dl-watermark": "^1.0.0",
|
|
"downloadjs": "^1.4.7",
|
|
"md5.js": "^1.3.5",
|
|
"vue": "^2.6.10",
|
|
"vue-highlightjs": "1.3.3",
|
|
"vue-json-viewer": "2.2.22",
|
|
"vue-pdf": "^4.2.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@gitee.com:e56buy/xd-file-preview.git"
|
|
},
|
|
"devDependencies": {
|
|
"@vue/cli-plugin-babel": "^3.12.0",
|
|
"@vue/cli-plugin-eslint": "^3.12.0",
|
|
"@vue/cli-service": "^3.12.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"eslint": "^5.16.0",
|
|
"eslint-plugin-vue": "^5.0.0",
|
|
"less": "^3.12.2",
|
|
"less-loader": "^7.0.1",
|
|
"require-context": "^1.1.0",
|
|
"sass": "^1.28.0",
|
|
"sass-loader": "^10.0.5",
|
|
"script-ext-html-webpack-plugin": "^2.1.5",
|
|
"uglifyjs-webpack-plugin": "^1.1.1",
|
|
"vue-template-compiler": "^2.6.10"
|
|
},
|
|
"keywords": [
|
|
"gxd",
|
|
"gxd-file-preview",
|
|
"vue-pdf",
|
|
"vue pdf",
|
|
"pdf",
|
|
"pdf-vue",
|
|
"pdf-vue-preview",
|
|
"pdf",
|
|
"pdf vue",
|
|
"pdf vue preview",
|
|
"pdf在线预览",
|
|
"file",
|
|
"file-preview",
|
|
"file-vue-preview",
|
|
"docx",
|
|
"doc",
|
|
"vue-docx",
|
|
"vue-doc",
|
|
"ppt",
|
|
"pptx",
|
|
"vue-ppt",
|
|
"vue-pptx",
|
|
"xls",
|
|
"xlsx",
|
|
"vue-xls",
|
|
"vue-xlsx",
|
|
"doc在线预览",
|
|
"docx在线预览",
|
|
"ppt在线预览",
|
|
"pptx在线预览",
|
|
"xls在线预览",
|
|
"xlsx在线预览"
|
|
],
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"plugin:vue/essential",
|
|
"eslint:recommended"
|
|
],
|
|
"rules": {},
|
|
"parserOptions": {
|
|
"parser": "babel-eslint"
|
|
}
|
|
},
|
|
"postcss": {
|
|
"plugins": {
|
|
"autoprefixer": {}
|
|
}
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions"
|
|
]
|
|
}
|