2023-02-16 19:11:16 +08:00
|
|
|
{
|
2023-03-28 20:37:18 +08:00
|
|
|
"name": "opentiny-vue",
|
2024-02-26 09:30:53 +08:00
|
|
|
"version": "3.14.0",
|
2023-03-28 20:37:18 +08:00
|
|
|
"private": true,
|
2024-01-25 17:02:41 +08:00
|
|
|
"packageManager": "pnpm@8.3.1",
|
2023-03-20 15:25:25 +08:00
|
|
|
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
|
|
|
|
"homepage": "https://opentiny.design/tiny-vue",
|
2023-02-16 19:11:16 +08:00
|
|
|
"keywords": [
|
|
|
|
"vue",
|
2023-03-20 15:25:25 +08:00
|
|
|
"vue3",
|
|
|
|
"frontend",
|
|
|
|
"component-library",
|
|
|
|
"components",
|
|
|
|
"vue-components",
|
|
|
|
"opentiny",
|
|
|
|
"renderless-components",
|
|
|
|
"headless-components"
|
2023-02-16 19:11:16 +08:00
|
|
|
],
|
2023-03-20 15:25:25 +08:00
|
|
|
"author": "OpenTiny Team",
|
2023-02-16 19:11:16 +08:00
|
|
|
"license": "MIT",
|
2023-03-28 20:37:18 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git@github.com:opentiny/tiny-vue.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/opentiny/tiny-vue/issues"
|
|
|
|
},
|
|
|
|
"main": "packages/index.js",
|
|
|
|
"engines": {
|
2023-05-18 16:57:25 +08:00
|
|
|
"node": ">=16",
|
2024-02-08 09:49:00 +08:00
|
|
|
"pnpm": ">=6.35"
|
2023-03-28 20:37:18 +08:00
|
|
|
},
|
2023-02-16 19:11:16 +08:00
|
|
|
"scripts": {
|
2024-04-08 15:46:23 +08:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2023-03-28 20:37:18 +08:00
|
|
|
"postinstall": "pnpm build:internals",
|
2023-12-04 20:14:26 +08:00
|
|
|
"prepare": "husky install",
|
2023-03-28 20:37:18 +08:00
|
|
|
"bootstrap": "pnpm --filter=\"!./packages/dist/**\" install",
|
2023-10-11 19:02:39 +08:00
|
|
|
"dev": "pnpm build:entry && gulp themeConcat -w & pnpm -C examples/vue3 dev",
|
|
|
|
"dev:saas": "pnpm create:icon-saas && pnpm build:entry && pnpm -C examples/vue3 dev:saas",
|
|
|
|
"dev2": "pnpm build:entry && gulp themeConcat -w & pnpm -C examples/vue2 dev",
|
|
|
|
"dev2:saas": "pnpm create:icon-saas && pnpm build:entry && pnpm -C examples/vue2 dev:saas",
|
|
|
|
"dev2.7": "pnpm build:entry && gulp themeConcat -w & pnpm -C examples/vue2.7 dev",
|
|
|
|
"dev2.7:saas": "pnpm create:icon-saas && pnpm build:entry && pnpm -C examples/vue2.7 dev:saas",
|
2023-08-11 16:40:06 +08:00
|
|
|
"// ---------- 启动官网文档 ----------": "",
|
2023-11-20 09:57:30 +08:00
|
|
|
"site": "pnpm build:entry && gulp themeConcat -w & pnpm -C examples/sites start",
|
2023-10-11 19:02:39 +08:00
|
|
|
"site:open": "pnpm build:entry && gulp themeConcat -w & pnpm -C examples/sites start:open",
|
2023-10-12 16:50:42 +08:00
|
|
|
"// ---------- 启动移动端组件官网文档 ----------": "",
|
|
|
|
"site:mobile": "pnpm build:entry && gulp themeConcat -w & pnpm -C examples/sites start:mobile",
|
2023-10-11 19:02:39 +08:00
|
|
|
"// ---------- 启动saas官网文档 ----------": "",
|
|
|
|
"site:saas": "pnpm create:icon-saas && pnpm build:entry && pnpm -C examples/sites start:saas",
|
2023-03-28 20:37:18 +08:00
|
|
|
"build:entry": "pnpm -C internals/cli build:entry",
|
|
|
|
"create:ui": "pnpm -C internals/cli create:ui",
|
2023-06-29 15:41:18 +08:00
|
|
|
"// ---------- 创建saas图标ts文件----------": "",
|
|
|
|
"create:icon-saas": "pnpm -C internals/cli create:icon-saas",
|
|
|
|
"// ---------- 创建组件和模板打包入口 ----------": "",
|
2023-03-28 20:37:18 +08:00
|
|
|
"create:mapping": "pnpm -C internals/cli create:mapping",
|
|
|
|
"sync-icons": "pnpm -C internals/cli sync-icons",
|
2023-06-29 15:41:18 +08:00
|
|
|
"// ---------- 打包运行时组件库 ----------": "",
|
2023-11-22 15:14:49 +08:00
|
|
|
"build:runtime": "pnpm -C internals/cli build:runtime",
|
2023-05-18 16:57:25 +08:00
|
|
|
"// ---------- 构建相关脚本 ----------": "",
|
2023-10-11 19:02:39 +08:00
|
|
|
"build:ui": "pnpm create:icon-saas && pnpm create:mapping && pnpm build:entry && gulp themeConcat && pnpm -C internals/cli build:ui",
|
2024-02-28 15:19:56 +08:00
|
|
|
"build:chartTheme": "pnpm -C internals/cli build:chartTheme",
|
2023-05-18 16:57:25 +08:00
|
|
|
"build:renderless": "pnpm -C packages/renderless build:fast",
|
2023-10-11 19:02:39 +08:00
|
|
|
"build:theme": "gulp themeConcat && pnpm -C packages/theme build:fast",
|
2023-08-11 16:40:06 +08:00
|
|
|
"build:themeSaas": "pnpm -C packages/theme-saas build:fast",
|
2023-05-18 16:57:25 +08:00
|
|
|
"build:themeMobile": "pnpm -C packages/theme-mobile build:fast",
|
2023-10-11 19:02:39 +08:00
|
|
|
"build:themejson": "gulp themeJson",
|
2023-03-28 20:37:18 +08:00
|
|
|
"build:internals": "pnpm \"--filter=./internals/*\" build",
|
2024-02-08 09:49:00 +08:00
|
|
|
"build:vite-import": "pnpm --filter @opentiny/vue-vite-import build",
|
|
|
|
"build:virtual-template": "pnpm --filter @opentiny-internal/unplugin-virtual-template build",
|
|
|
|
"build:site": "gulp themeConcat && pnpm i -g pnpm && pnpm build:vite-import && pnpm build:virtual-template && pnpm -C examples/sites build",
|
2023-08-11 16:40:06 +08:00
|
|
|
"release:aurora": "pnpm -C internals/cli release:aurora",
|
2023-05-18 16:57:25 +08:00
|
|
|
"// ---------- 使用pnpm批量发布npm包 ----------": "",
|
2023-06-29 15:41:18 +08:00
|
|
|
"pub2": "pnpm --filter=\"./packages/dist2/**\" publish --tag v2-latest --no-git-checks --access=public",
|
2023-05-25 14:39:53 +08:00
|
|
|
"pub3": "pnpm --filter=\"./packages/dist3/**\" publish --no-git-checks --access=public",
|
2023-06-29 15:41:18 +08:00
|
|
|
"pub2.7": "pnpm --filter=\"./packages/dist2.7/**\" publish --tag v2.7-latest --no-git-checks --access=public",
|
2023-10-11 19:02:39 +08:00
|
|
|
"pub:aurora": "pnpm --filter=\"./packages/dist2/@aurora/**\" publish --no-git-checks --access=public",
|
2024-03-30 10:09:50 +08:00
|
|
|
"pub:theme": "pnpm --filter=\"./packages/theme/dist\" publish --no-git-checks --access=public",
|
|
|
|
"pub:themeMobile": "pnpm --filter=\"./packages/theme-mobile/dist/\" publish --no-git-checks --access=public",
|
|
|
|
"pub:themeSaas": "pnpm --filter=\"./packages/theme-saas/dist\" publish --no-git-checks --access=public",
|
|
|
|
"pub:renderless": "pnpm --filter=\"./packages/renderless/dist\" publish --no-git-checks --access=public",
|
|
|
|
"pub:all": "pnpm pub2 && pnpm pub3 && pnpm pub:theme && pnpm pub:themeMobile && pnpm pub:themeSaas && pnpm pub:renderless",
|
2024-04-08 15:46:23 +08:00
|
|
|
"pub:site": "pnpm -C examples/sites pub",
|
2023-05-18 16:57:25 +08:00
|
|
|
"// ---------- unit单元测试 ----------": "",
|
|
|
|
"test:unit2": "pnpm -C examples/vue2 test:unit",
|
|
|
|
"test:unit2.7": "pnpm -C examples/vue2.7 test:unit",
|
|
|
|
"test:unit3": "pnpm -C examples/vue3 test:unit",
|
|
|
|
"// ---------- e2e自动化测试 ----------": "",
|
2023-06-10 15:54:00 +08:00
|
|
|
"test:e2e2": "pnpm -C examples/vue2 test:e2e --project=chromium",
|
|
|
|
"test:e2e2.7": "pnpm -C examples/vue2.7 test:e2e --project=chromium",
|
|
|
|
"test:e2e3": "pnpm -C examples/vue3 test:e2e --project=chromium",
|
2024-02-04 11:54:30 +08:00
|
|
|
"test:e2e2:mobile": "pnpm -C examples/vue2 test:e2e --project=android",
|
|
|
|
"test:e2e2.7:mobile": "pnpm -C examples/vue2.7 test:e2e --project=android",
|
|
|
|
"test:e2e3:mobile": "pnpm -C examples/vue3 test:e2e --project=android",
|
2023-05-18 16:57:25 +08:00
|
|
|
"// ---------- playwright下载chromium、firefox等浏览器内核 ----------": "",
|
|
|
|
"install:browser": "pnpm -C examples/vue3 install:browser",
|
|
|
|
"// ---------- e2e测试代码生成器 ----------": "",
|
|
|
|
"codegen": "pnpm -C examples/vue3 codegen",
|
2024-02-04 11:54:30 +08:00
|
|
|
"codegen:mobile": "pnpm -C examples/vue3 codegen --device=\"Pixel 5\" ",
|
2023-08-11 16:40:06 +08:00
|
|
|
"format": "prettier --write --cache packages/**/{*.vue,*.js,*.ts,*.jsx,*.tsx,*.less} examples/**/{*.vue,*.js,*.ts,*.jsx,*.tsx} internals/**/{*.js,*.ts}",
|
|
|
|
"lint": "eslint \"packages/**/{*.vue,*.js,*.ts}\" --quiet --fix",
|
|
|
|
"lint:doc": "eslint \"examples/**/{*.vue,*.js,*.ts}\" --quiet --fix",
|
2024-04-08 15:46:23 +08:00
|
|
|
"clean:build": "rimraf packages/dist2 packages/dist3 packages/dist2.7 packages/renderless/dist packages/theme/dist packages/theme-saas/dist packages/theme-mobile/dist",
|
2023-05-18 16:57:25 +08:00
|
|
|
"clean:dependencies": "rm -rf node_modules /**/node_modules",
|
2023-03-28 20:37:18 +08:00
|
|
|
"// ---------- 构建【mf】版本 ----------": "",
|
|
|
|
"preci:deployMfPatch": "pnpm clean:build && lerna version prepatch --conventional-prerelease --include-merged-tags --preid mf --no-push --yes",
|
|
|
|
"ci:deployMfPatch": "lerna publish from-package --yes --dist-tag mf",
|
|
|
|
"postci:deployMfPatch": "git push --follow-tags origin",
|
|
|
|
"// ---------- 构建【beta】版本 ----------": "",
|
|
|
|
"preci:deployBetaPatch": "pnpm clean:build && lerna version prepatch --conventional-prerelease --include-merged-tags --preid beta --no-push --yes",
|
|
|
|
"ci:deployBetaPatch": "lerna publish from-package --yes --dist-tag beta",
|
|
|
|
"postci:deployBetaPatch": "git push --follow-tags origin",
|
|
|
|
"// ---------- 构建【补丁】版本 ----------": "",
|
|
|
|
"preci:releasePatchVersion": "pnpm clean:build && lerna version patch --conventional-graduate --include-merged-tags --no-push --yes",
|
|
|
|
"ci:releasePatchVersion": "lerna publish from-package --yes",
|
|
|
|
"postci:releasePatchVersion": "git push --follow-tags origin",
|
|
|
|
"// ---------- 构建【特性】版本 ----------": "",
|
|
|
|
"preci:releaseMinorVersion": "pnpm clean:build && lerna version minor --conventional-graduate --include-merged-tags --no-push --yes",
|
|
|
|
"ci:releaseMinorVersion": "lerna publish from-package --yes",
|
|
|
|
"postci:releaseMinorVersion": "git push --follow-tags origin",
|
|
|
|
"// ---------- 手工构建发布指定组件 (Mf) ----------": "",
|
|
|
|
"preci:deployMf": "pnpm clean:build",
|
|
|
|
"ci:deployMf": "pnpm build:ui",
|
|
|
|
"postci:deployMf": "lerna publish from-package --yes --dist-tag mf",
|
|
|
|
"// ---------- 手工构建发布指定组件 (Beta) ----------": "",
|
|
|
|
"preci:deployBeta": "pnpm clean:build",
|
|
|
|
"ci:deployBeta": "pnpm build:ui",
|
2023-09-28 19:39:05 +08:00
|
|
|
"postci:deployBeta": "lerna publish from-package --yes --dist-tag beta",
|
|
|
|
"analyse:depends": "pnpm --filter @opentiny/analyse_depends start",
|
2023-12-11 18:58:51 +08:00
|
|
|
"// ---------- react 相关脚本命令 ----------": "",
|
|
|
|
"dev:react": "pnpm create:mapping-react && pnpm build:entry-react && pnpm -C examples/react-docs run dev",
|
2023-09-28 19:39:05 +08:00
|
|
|
"build:entry-react": "pnpm -C internals/cli build:entry-react",
|
|
|
|
"create:mapping-react": "pnpm -C internals/cli create:mapping-react",
|
|
|
|
"build:react": "pnpm -C internals/cli build:react",
|
|
|
|
"build:ui-react": "pnpm create:mapping-react && pnpm build:entry-react && pnpm build:react",
|
|
|
|
"pub:react": "pnpm --filter=\"./packages/dist-react/**\" publish --no-git-checks --access=public",
|
|
|
|
"dev:react-site": "pnpm --filter @opentiny/react-site start",
|
2023-12-08 10:24:50 +08:00
|
|
|
"build:react-site": "pnpm --filter @opentiny/react-site build",
|
2023-12-11 18:58:51 +08:00
|
|
|
"prettier": "prettier --config .prettierrc --write .",
|
|
|
|
"// ---------- openinula 相关脚本命令 ----------": "",
|
2023-12-15 10:14:55 +08:00
|
|
|
"dev:openinula": "pnpm -C examples/openinula-docs run dev",
|
|
|
|
"// ---------- solid 相关脚本命令 ----------": "",
|
|
|
|
"dev:solid": "pnpm -C examples/solid-docs run dev"
|
2023-02-16 19:11:16 +08:00
|
|
|
},
|
2023-03-28 20:37:18 +08:00
|
|
|
"dependencies": {
|
2024-02-26 09:30:53 +08:00
|
|
|
"@vue/composition-api": "1.7.2",
|
2023-08-16 11:30:24 +08:00
|
|
|
"color": "^4.2.3",
|
2023-03-28 20:37:18 +08:00
|
|
|
"cropperjs": "1.5.12",
|
2023-11-06 15:32:39 +08:00
|
|
|
"crypto-js": "4.2.0",
|
2023-05-25 14:26:49 +08:00
|
|
|
"echarts": "5.4.1",
|
2024-04-08 15:46:23 +08:00
|
|
|
"echarts-liquidfill": "3.1.0",
|
2023-02-22 16:45:25 +08:00
|
|
|
"echarts-wordcloud": "2.0.0",
|
2023-06-29 15:41:18 +08:00
|
|
|
"fastdom": "1.0.11",
|
2023-03-28 20:37:18 +08:00
|
|
|
"shepherd.js": "11.0.1",
|
|
|
|
"streamsaver": "2.0.6"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-05-25 14:26:49 +08:00
|
|
|
"@antfu/eslint-config": "^0.38.6",
|
2023-08-16 11:30:24 +08:00
|
|
|
"@types/color": "^3.0.3",
|
2023-03-28 20:37:18 +08:00
|
|
|
"@types/eslint": "^8.4.10",
|
|
|
|
"@types/node": "^18.11.18",
|
2023-08-11 16:40:06 +08:00
|
|
|
"@types/shelljs": "^0.8.12",
|
2023-11-25 18:22:18 +08:00
|
|
|
"@typescript-eslint/parser": "^6.12.0",
|
2023-05-25 14:26:49 +08:00
|
|
|
"@volar-plugins/eslint": "^2.0.0",
|
|
|
|
"@volar-plugins/prettier": "^2.0.0",
|
|
|
|
"@volar-plugins/prettyhtml": "^2.0.0",
|
|
|
|
"@vue/tsconfig": "^0.4.0",
|
2023-03-28 20:37:18 +08:00
|
|
|
"depcheck": "1.4.3",
|
|
|
|
"eslint": "^8.31.0",
|
2023-08-16 11:30:24 +08:00
|
|
|
"eslint-config-prettier": "^8.8.0",
|
|
|
|
"eslint-plugin-prettier": "^5.0.0",
|
2023-08-11 16:40:06 +08:00
|
|
|
"fast-glob": "^3.2.12",
|
2023-08-16 11:30:24 +08:00
|
|
|
"fs-extra": "^11.1.0",
|
2023-08-11 16:40:06 +08:00
|
|
|
"gulp": "^4.0.2",
|
|
|
|
"gulp-autoprefixer": "^7.0.1",
|
|
|
|
"gulp-clean-css": "^4.2.0",
|
|
|
|
"gulp-less": "^5.0.0",
|
|
|
|
"gulp-svg-inline": "^1.0.1",
|
|
|
|
"gulp-transform": "^3.0.5",
|
2023-03-28 20:37:18 +08:00
|
|
|
"lerna": "^6.4.0",
|
2023-12-04 20:14:26 +08:00
|
|
|
"lint-staged": "^15.2.0",
|
2023-12-05 16:07:27 +08:00
|
|
|
"husky": "^8.0.3",
|
2023-12-04 20:14:26 +08:00
|
|
|
"commitlint": "^18.4.3",
|
|
|
|
"@commitlint/config-conventional": "^18.4.3",
|
2023-08-16 11:30:24 +08:00
|
|
|
"minimist": "^1.2.8",
|
2023-08-11 16:40:06 +08:00
|
|
|
"node-xlsx": "^0.21.0",
|
|
|
|
"prettier": "^3.0.0",
|
2023-03-28 20:37:18 +08:00
|
|
|
"rimraf": "^3.0.2",
|
2023-08-11 16:40:06 +08:00
|
|
|
"shelljs": "^0.8.5",
|
2023-10-07 10:44:21 +08:00
|
|
|
"shx": "^0.3.4",
|
2023-05-25 14:26:49 +08:00
|
|
|
"typescript": "^5.0.0",
|
|
|
|
"vite": "^4.3.8",
|
2023-11-29 16:29:22 +08:00
|
|
|
"vue": "^3.3.9",
|
2023-06-10 15:54:00 +08:00
|
|
|
"vue-tsc": "^1.6.5"
|
2023-02-16 19:11:16 +08:00
|
|
|
},
|
2023-03-28 20:37:18 +08:00
|
|
|
"pnpm": {
|
|
|
|
"patchedDependencies": {
|
2023-10-11 19:02:39 +08:00
|
|
|
"depcheck@1.4.3": "patches/depcheck@1.4.3.patch",
|
|
|
|
"tsup@7.2.0": "patches/tsup@7.2.0.patch"
|
2023-03-28 20:37:18 +08:00
|
|
|
},
|
|
|
|
"overrides": {
|
2023-11-29 16:29:22 +08:00
|
|
|
"@vue/compiler-sfc@3": "3.3.9",
|
|
|
|
"@vue/runtime-core@3": "3.3.9",
|
|
|
|
"@vue/runtime-dom@3": "3.3.9",
|
|
|
|
"@vue/shared@3": "3.3.9",
|
2023-03-28 20:37:18 +08:00
|
|
|
"cropperjs": "1.5.12",
|
2023-05-25 14:26:49 +08:00
|
|
|
"echarts": "5.4.1",
|
2023-03-28 20:37:18 +08:00
|
|
|
"follow-redirects": "1.14.8",
|
|
|
|
"regenerator-runtime": "0.13.9",
|
2023-05-18 16:57:25 +08:00
|
|
|
"tailwindcss@3": "3.2.4",
|
2023-03-28 20:37:18 +08:00
|
|
|
"tslib": "2.4.0",
|
2023-05-25 14:26:49 +08:00
|
|
|
"typescript": "^5.0.0",
|
2023-03-28 20:37:18 +08:00
|
|
|
"vue-i18n@8": "8.27.2",
|
|
|
|
"vue-i18n@9": "9.2.2",
|
|
|
|
"vue-router@3": "3.6.5",
|
|
|
|
"vue-router@4": "4.1.5",
|
|
|
|
"vue-template-compiler@2.6": "2.6.14",
|
|
|
|
"vue-template-compiler@2.7": "2.7.10",
|
|
|
|
"vue@2.6": "2.6.14",
|
|
|
|
"vue@2.7": "2.7.10",
|
2023-11-29 16:29:22 +08:00
|
|
|
"vue@3": "3.3.9",
|
2023-03-28 20:37:18 +08:00
|
|
|
"vue2": "npm:vue@2.6.14",
|
|
|
|
"vue2.7": "npm:vue@2.7.10",
|
2023-11-29 16:29:22 +08:00
|
|
|
"vue3": "npm:vue@3.3.9",
|
2023-05-25 14:26:49 +08:00
|
|
|
"vite": "^4.3.8"
|
2023-03-28 20:37:18 +08:00
|
|
|
},
|
|
|
|
"packageExtensions": {
|
|
|
|
"vue-template-compiler@2.6.14": {
|
|
|
|
"peerDependencies": {
|
|
|
|
"vue": "2.6.14"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"vue-template-compiler@2.7.10": {
|
|
|
|
"peerDependencies": {
|
|
|
|
"vue": "2.7.10"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"@vue/composition-api": {
|
|
|
|
"peerDependencies": {
|
|
|
|
"vue": "2.6.14"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"vite-plugin-dts": {
|
|
|
|
"peerDependencies": {
|
2023-11-29 16:29:22 +08:00
|
|
|
"vue": "^3.3.9"
|
2023-03-28 20:37:18 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"vite-plugin-md": {
|
|
|
|
"peerDependenciesMeta": {
|
|
|
|
"@vitejs/plugin-vue": {
|
|
|
|
"optional": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-02-16 19:11:16 +08:00
|
|
|
"browserslist": [
|
|
|
|
"> 1%",
|
|
|
|
"last 2 versions"
|
2023-03-28 20:37:18 +08:00
|
|
|
]
|
2024-04-08 15:46:23 +08:00
|
|
|
}
|