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

2 years ago
  1. {
  2. "name": "gxd-file-preview",
  3. "version": "1.2.1",
  4. "private": false,
  5. "description": "vue 文件在线预览展示功能,支持文件(PDF,PNG,JPEG,JPG,GIF,DOC,DOCX,PPT,PPTX,XLS,XLSX,JSON,TXT,JS,HTML,CSS)",
  6. "scripts": {
  7. "library": "vue-cli-service build --no-clean --target lib --name gxd --dest lib --entry src/install.js",
  8. "library:dev": "vue-cli-service build --no-clean --target lib --name gxdSource --dest lib --entry src/install.js",
  9. "remove": " rm ./lib/gxd.common.js && rm ./lib/gxd.umd.js && rm ./lib/demo.html",
  10. "build": "npm run library && npm run remove",
  11. "dev": "vue-cli-service serve",
  12. "lint": "vue-cli-service lint"
  13. },
  14. "dependencies": {
  15. "core-js": "^2.6.10",
  16. "dl-watermark": "^1.0.0",
  17. "downloadjs": "^1.4.7",
  18. "md5.js": "^1.3.5",
  19. "vue": "^2.6.10",
  20. "vue-highlightjs": "1.3.3",
  21. "vue-json-viewer": "2.2.22",
  22. "vue-pdf": "^4.2.0"
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git@gitee.com:e56buy/xd-file-preview.git"
  27. },
  28. "devDependencies": {
  29. "@vue/cli-plugin-babel": "^3.12.0",
  30. "@vue/cli-plugin-eslint": "^3.12.0",
  31. "@vue/cli-service": "^3.12.0",
  32. "babel-eslint": "^10.0.1",
  33. "eslint": "^5.16.0",
  34. "eslint-plugin-vue": "^5.0.0",
  35. "less": "^3.12.2",
  36. "less-loader": "^7.0.1",
  37. "require-context": "^1.1.0",
  38. "sass": "^1.28.0",
  39. "sass-loader": "^10.0.5",
  40. "script-ext-html-webpack-plugin": "^2.1.5",
  41. "uglifyjs-webpack-plugin": "^1.1.1",
  42. "vue-template-compiler": "^2.6.10"
  43. },
  44. "keywords": [
  45. "gxd",
  46. "gxd-file-preview",
  47. "vue-pdf",
  48. "vue pdf",
  49. "pdf",
  50. "pdf-vue",
  51. "pdf-vue-preview",
  52. "pdf",
  53. "pdf vue",
  54. "pdf vue preview",
  55. "pdf在线预览",
  56. "file",
  57. "file-preview",
  58. "file-vue-preview",
  59. "docx",
  60. "doc",
  61. "vue-docx",
  62. "vue-doc",
  63. "ppt",
  64. "pptx",
  65. "vue-ppt",
  66. "vue-pptx",
  67. "xls",
  68. "xlsx",
  69. "vue-xls",
  70. "vue-xlsx",
  71. "doc在线预览",
  72. "docx在线预览",
  73. "ppt在线预览",
  74. "pptx在线预览",
  75. "xls在线预览",
  76. "xlsx在线预览"
  77. ],
  78. "eslintConfig": {
  79. "root": true,
  80. "env": {
  81. "node": true
  82. },
  83. "extends": [
  84. "plugin:vue/essential",
  85. "eslint:recommended"
  86. ],
  87. "rules": {},
  88. "parserOptions": {
  89. "parser": "babel-eslint"
  90. }
  91. },
  92. "postcss": {
  93. "plugins": {
  94. "autoprefixer": {}
  95. }
  96. },
  97. "browserslist": [
  98. "> 1%",
  99. "last 2 versions"
  100. ]
  101. }