mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
- Added a new "preview" script to package.json for easier local previewing of the application. - Refactored Vite configuration by removing unnecessary library build options and external dependencies, streamlining the build process. - Updated manual chunking logic to improve module handling and included additional dependencies in optimizeDeps for better performance.
177 lines
5.2 KiB
JSON
177 lines
5.2 KiB
JSON
{
|
|
"name": "crawlab-ui",
|
|
"version": "0.7.0-rc7",
|
|
"private": false,
|
|
"author": {
|
|
"name": "Marvin Zhang",
|
|
"email": "tikazyq@163.com"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/crawlab-team/crawlab-ui"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"type": "module",
|
|
"files": [
|
|
"dist",
|
|
"public",
|
|
"src",
|
|
"typings",
|
|
"vite.config.js"
|
|
],
|
|
"typings": "typings/index.d.ts",
|
|
"main": "./dist/crawlab-ui.umd.cjs",
|
|
"module": "./dist/crawlab-ui.umd.cjs",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/crawlab-ui.js",
|
|
"require": "./dist/crawlab-ui.umd.cjs"
|
|
},
|
|
"./dist/style.css": {
|
|
"import": "./dist/style.css",
|
|
"require": "./dist/style.css"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "vite build --watch --mode development",
|
|
"serve": "vite",
|
|
"serve:host": "vite --host",
|
|
"serve:local": "vite serve --port=8081 --mode local",
|
|
"serve:dist": "serve dist",
|
|
"gen:index": "node ./scripts/gen-index.js",
|
|
"gen:svg": "node ./scripts/gen-svg.js",
|
|
"gen:dts": "node ./scripts/gen-dts.js",
|
|
"gen:dts:check": "vue-tsc --noEmit --rootDir ./src",
|
|
"gen:interfaces": "node ./scripts/gen-interfaces.js",
|
|
"prebuild": "pnpm run prebuild:gen",
|
|
"prebuild:gen": "pnpm run gen:index && pnpm run gen:svg",
|
|
"postbuild": "pnpm run postbuild:gen",
|
|
"postbuild:gen": "pnpm run gen:interfaces",
|
|
"build": "pnpm run prebuild && pnpm run build:lib && pnpm run postbuild",
|
|
"build:local": "vite build --mode local",
|
|
"build:lib": "vite build",
|
|
"lint": "vite lint",
|
|
"test": "jest",
|
|
"preview": "vite preview"
|
|
},
|
|
"peerDependencies": {
|
|
"@element-plus/icons-vue": "^2.3.1",
|
|
"@fortawesome/fontawesome-common-types": "^6.5.2",
|
|
"@fortawesome/fontawesome-svg-core": "^6.5.2",
|
|
"@fortawesome/free-brands-svg-icons": "^6.5.2",
|
|
"@fortawesome/free-regular-svg-icons": "^6.5.2",
|
|
"@fortawesome/free-solid-svg-icons": "^6.5.2",
|
|
"@fortawesome/vue-fontawesome": "^3.0.8",
|
|
"@lexical/code": "^0.16.1",
|
|
"@lexical/history": "^0.16.1",
|
|
"@lexical/html": "^0.16.1",
|
|
"@lexical/link": "^0.16.1",
|
|
"@lexical/list": "^0.16.1",
|
|
"@lexical/markdown": "^0.16.1",
|
|
"@lexical/rich-text": "^0.16.1",
|
|
"@lexical/selection": "^0.16.1",
|
|
"@lexical/table": "^0.16.1",
|
|
"@lexical/text": "^0.16.1",
|
|
"@lexical/utils": "^0.16.1",
|
|
"@popperjs/core": "^2.11.8",
|
|
"@types/getos": "^3.0.4",
|
|
"@types/humanize-duration": "^3.27.4",
|
|
"@types/javascript-time-ago": "^2.0.8",
|
|
"@types/lodash": "^4.17.6",
|
|
"@types/markdown-it": "^14.1.2",
|
|
"@types/md5": "^2.3.5",
|
|
"@types/pinyin": "^2.10.2",
|
|
"@types/three": "^0.166.0",
|
|
"@types/url-join": "^4.0.3",
|
|
"async-validator": "^4.2.5",
|
|
"atom-material-icons": "^3.0.0",
|
|
"axios": "^1.7.2",
|
|
"chalk": "^5.3.0",
|
|
"chart.js": "^4.4.3",
|
|
"chartjs-adapter-date-fns": "^3.0.0",
|
|
"clipboard": "^2.0.11",
|
|
"core-js": "^3.37.1",
|
|
"crawlab-vue3-dropzone": "3.0.3",
|
|
"cron-parser": "^4.9.0",
|
|
"cronstrue": "^2.50.0",
|
|
"dayjs": "^1.11.11",
|
|
"dompurify": "^3.2.4",
|
|
"element-plus": "^2.7.6",
|
|
"font-awesome": "^4.7.0",
|
|
"humanize-duration": "^3.32.1",
|
|
"javascript-time-ago": "^2.5.10",
|
|
"lexical": "^0.16.1",
|
|
"lodash": "^4.17.21",
|
|
"markdown-it": "^14.1.0",
|
|
"md5": "^2.3.0",
|
|
"mitt": "^3.0.1",
|
|
"monaco-editor": "^0.50.0",
|
|
"normalize.css": "^8.0.1",
|
|
"os-name": "^5.0.1",
|
|
"pinyin": "^2.10.2",
|
|
"point-cluster": "^3.1.8",
|
|
"prismjs": "^1.29.0",
|
|
"three": "^0.166.1",
|
|
"tiny-invariant": "^1.3.3",
|
|
"url-join": "^4.0.1",
|
|
"url-regex": "^5.0.0",
|
|
"vite-svg-loader": "^5.1.0",
|
|
"vue": "^3.4",
|
|
"vue-chartjs": "^5.3.1",
|
|
"vue-clipboard3": "^2.0.0",
|
|
"vue-i18n": "9.13.1",
|
|
"vue-router": "^4.4.0",
|
|
"vuex": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@lexical/code": "^0.16.1",
|
|
"@lexical/html": "^0.16.1",
|
|
"@lexical/link": "^0.16.1",
|
|
"@lexical/list": "^0.16.1",
|
|
"@lexical/markdown": "^0.16.1",
|
|
"@lexical/selection": "^0.16.1",
|
|
"@lexical/table": "^0.16.1",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "^20.14.9",
|
|
"@types/node-os-utils": "^1.3.4",
|
|
"@types/three": "^0.166.0",
|
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
"@vitejs/plugin-vue-jsx": "^4.1.1",
|
|
"@vue/compiler-sfc": "^3.4.31",
|
|
"autoprefixer": "^10.4.19",
|
|
"base64-img": "^1.0.4",
|
|
"chartjs-adapter-date-fns": "^3.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"esno": "^4.7.0",
|
|
"fast-glob": "^3.3.2",
|
|
"fs-extra": "^11.2.0",
|
|
"globals": "^15.8.0",
|
|
"highlight.js": "^11.11.1",
|
|
"increase-memory-limit": "^1.0.7",
|
|
"jest": "^29.7.0",
|
|
"klaw-sync": "^6.0.0",
|
|
"mitt": "^3.0.1",
|
|
"postcss": "^8.4.39",
|
|
"prettier": "^3.3.2",
|
|
"prismjs": "^1.29.0",
|
|
"rollup-plugin-external-globals": "^0.10.0",
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
"sass": "^1.80.4",
|
|
"serve": "^14.2.3",
|
|
"tailwindcss": "^3.4.4",
|
|
"typescript": "^5.5.3",
|
|
"vite": "^6.0.9",
|
|
"vite-plugin-dynamic-import": "^1.5.0",
|
|
"vite-plugin-static-copy": "^2.2.0",
|
|
"vite-svg-loader": "^5.1.0",
|
|
"vue-chartjs": "^5.3.1",
|
|
"vue-tsc": "^2.0.24"
|
|
},
|
|
"dependencies": {
|
|
"@types/semver": "^7.5.8",
|
|
"json-editor-vue": "^0.17.0",
|
|
"semver": "^7.6.3",
|
|
"uuid": "^10.0.0"
|
|
}
|
|
}
|