package.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. {
  2. "name": "@xdjf/idd-web",
  3. "description": "Lightweight Rule Engine Frontend Page Code.",
  4. "version": "0.1.1",
  5. "private": "true",
  6. "scripts": {
  7. "dev": "vite --force",
  8. "build": "node --max_old_space_size=4096 ./node_modules/vite/bin/vite.js build",
  9. "tsd": "xy-tsd",
  10. "preview": "vite preview --port 4173",
  11. "pub": "npx babel-node publish.js --presets @babel/preset-env",
  12. "lint": "eslint --ext .vue,.js,.jsx,.ts,.tsx ./ --max-warnings 0 --cache --cache-location node_modules/.cache/eslint/",
  13. "lint:fix": "eslint --ext .vue,.js,jsx,.ts,.tsx ./ --max-warnings 0 --cache --cache-location node_modules/.cache/eslint/ --fix",
  14. "stylelint": "stylelint src/**/*.{html,vue,sass,scss,less} --cache --cache-location node_modules/.cache/stylelint/",
  15. "stylelint:fix": "stylelint src/**/*.{html,vue,sass,scss,less} --cache --cache-location node_modules/.cache/stylelint/ --fix",
  16. "lint:tsd": "eslint --fix --ext .js,.vue temp"
  17. },
  18. "main": "src/index.js",
  19. "dependencies": {
  20. "@ggzj/shuffle-lite-web": "0.1.79-ds",
  21. "@kangc/v-md-editor": "1.7.11",
  22. "@tinymce/tinymce-vue": "3",
  23. "@univerjs/preset-sheets-core": "0.12.3",
  24. "@univerjs/presets": "0.12.3",
  25. "@vue-office/docx": "1.6.2",
  26. "@vue-office/excel": "1.7.11",
  27. "@vue-office/pdf": "2.0.2",
  28. "@yufp/constant": "0.1.1",
  29. "@yufp/icon": "0.1.1",
  30. "@yufp/layout": "0.1.7",
  31. "@yufp/layout-utils": "0.1.1",
  32. "@yufp/locale": "0.1.1",
  33. "@yufp/sidebar": "2.10.1",
  34. "@yufp/store": "0.1.7",
  35. "@yufp/svgicon": "0.1.1",
  36. "@yufp/toolbar": "0.1.1",
  37. "@yuxp/compile": "2.10.1-test.5",
  38. "@yuxp/extension-widgets": "1.1.9",
  39. "@yuxp/integration": "1.0.5",
  40. "axios": "1.6.8",
  41. "dayjs": "1.11.7",
  42. "decimal.js": "10.4.3",
  43. "diff": "8.0.2",
  44. "draggabilly": "3.0.0",
  45. "element-ui": "2.15.14",
  46. "fingerprintjs2": "2.1.0",
  47. "highlight.js": "11.10.0",
  48. "html2canvas": "1.4.1",
  49. "js-base64": "3.7.7",
  50. "js-cookie": "2.2.0",
  51. "jsencrypt": "3.3.2",
  52. "jsoneditor": "10.4.2",
  53. "jszip": "3.10.1",
  54. "katex": "0.16.25",
  55. "lodash": "4.17.21",
  56. "mockjs": "1.1.0",
  57. "nprogress": "0.2.0",
  58. "pdfjs-dist": "2.1",
  59. "qs": "6.12.0",
  60. "regenerator-runtime": "0.14.1",
  61. "screenfull": "6.0.2",
  62. "sortablejs": "1.15.6",
  63. "throttle-debounce": "1.1.0",
  64. "tinymce": "5.7.1",
  65. "v-viewer": "1.7.4",
  66. "vcolorpicker": "1.1.0",
  67. "viewerjs": "1.11.7",
  68. "vue": "2.7.16",
  69. "vue-clipboard2": "0.3.3",
  70. "vue-router": "3.6.5",
  71. "vue-seamless-scroll": "1.1.23",
  72. "vue-virtual-scroll-list": "2.3.5",
  73. "vuex": "3.6.2",
  74. "vuex-persist": "3.1.3",
  75. "yuwp-ui": "2.7.27-cdp.85"
  76. },
  77. "devDependencies": {
  78. "@antv/g6": "4.8.21",
  79. "@babel/node": "7.25.0",
  80. "@babel/plugin-syntax-jsx": "7.24.7",
  81. "@babel/preset-env": "7.25.4",
  82. "@commitlint/cli": "17.8.1",
  83. "@commitlint/config-conventional": "17.8.1",
  84. "@vitejs/plugin-vue2": "2.3.1",
  85. "@vitejs/plugin-vue2-jsx": "1.1.1",
  86. "@vue/babel-helper-vue-jsx-merge-props": "1.4.0",
  87. "@vue/babel-plugin-transform-vue-jsx": "1.4.0",
  88. "@vue/babel-preset-jsx": "1.4.0",
  89. "@xdjf/oca-web": "0.2.1",
  90. "@yufp/request-filter-plus": "0.1.1",
  91. "@yufp/xy-tsd": "0.1.27",
  92. "@yufp/xy-utils": "0.2.20",
  93. "@yuxp/previewer": "1.0.17-vite.13",
  94. "@yuxp/web-cli": "1.0.20",
  95. "acorn": "8.12.1",
  96. "autoprefixer": "10.4.19",
  97. "codemirror": "5.65.16",
  98. "cz-git": "1.9.0",
  99. "deepmerge": "4.3.1",
  100. "dom-to-image": "2.6.0",
  101. "eslint": "8.57.0",
  102. "eslint-config-airbnb-base": "15.0.0",
  103. "eslint-config-prettier": "8.10.0",
  104. "eslint-define-config": "1.23.0",
  105. "eslint-plugin-import": "2.29.1",
  106. "eslint-plugin-prettier": "4.2.1",
  107. "eslint-plugin-vue": "9.23.0",
  108. "express": "4.17.1",
  109. "husky": "8.0.3",
  110. "insert-css": "2.0.0",
  111. "jsmind": "0.8.6",
  112. "lint-staged": "13.3.0",
  113. "moment": "2.30.1",
  114. "multer": "1.4.5-lts.1",
  115. "node-xlsx": "0.19.0",
  116. "postcss": "8.4.38",
  117. "postcss-html": "1.6.0",
  118. "postcss-scss": "4.0.9",
  119. "prettier": "2.8.8",
  120. "relation-graph": "2.2.8",
  121. "request": "2.88.2",
  122. "sass": "1.72.0",
  123. "stylelint": "15.11.0",
  124. "stylelint-config-html": "1.1.0",
  125. "stylelint-config-recess-order": "4.6.0",
  126. "stylelint-config-standard": "33.0.0",
  127. "stylelint-order": "6.0.4",
  128. "terser": "5.36.0",
  129. "uuid": "10.0.0",
  130. "vcolorpicker": "1.1.0",
  131. "vite": "4.5.5",
  132. "vite-plugin-eslint": "1.8.1",
  133. "vite-plugin-externals": "0.6.2",
  134. "vite-plugin-mock": "3.0.2",
  135. "vite-plugin-mock-dev-server": "1.4.7",
  136. "vite-plugin-svg-icons": "2.0.1",
  137. "vue-eslint-parser": "9.4.2",
  138. "vue-template-compiler": "2.7.16",
  139. "vuedraggable": "2.24.3",
  140. "xlsx": "0.20.0"
  141. },
  142. "resolutions": {
  143. "commander": "11.0.0",
  144. "ansi-regex": "5.0.1",
  145. "async-validator": "4.2.5",
  146. "postcss": "8.4.38",
  147. "acorn": "8.10.0",
  148. "esbuild": "0.20.0",
  149. "assert": "1.5.1",
  150. "tough-cookie": "4.1.3",
  151. "xlsx": "0.20.0",
  152. "@yufp/xy-utils": "0.2.20",
  153. "recast": "0.23.9",
  154. "minimatch": "9.0.3",
  155. "@yufp/sidebar": "2.10.1"
  156. },
  157. "husky": {
  158. "hooks": {
  159. "pre-commit": "lint-staged --ignore-path .gitignore",
  160. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  161. }
  162. },
  163. "lint-staged": {
  164. "src/**/*.{js,jsx,ts,tsx}": [
  165. "prettier --write",
  166. "eslint --fix"
  167. ],
  168. "src/**/**.vue": [
  169. "prettier --write",
  170. "eslint --fix",
  171. "stylelint --fix"
  172. ],
  173. "src/**/**.{html,sass,scss,less}": [
  174. "prettier --write",
  175. "stylelint --fix"
  176. ],
  177. "package.json": [
  178. "prettier --write"
  179. ],
  180. "*.md": [
  181. "prettier --write"
  182. ],
  183. "!src/config/**/*": "echo 'Skipping eslint-config directory'",
  184. "!src/store/**/*": "echo 'Skipping eslint-config directory'",
  185. "!src/router/**/*": "echo 'Skipping eslint-config directory'",
  186. "!src/views/pagefactory/**/*": "echo 'Skipping eslint-config directory'",
  187. "!node_modules/**/*": "echo 'Skipping eslint-config directory'"
  188. },
  189. "config": {
  190. "commitizen": {
  191. "path": "node_modules/cz-git"
  192. }
  193. },
  194. "browserslist": [
  195. "defaults"
  196. ]
  197. }