Files
workspace/code/g3soft-libs/packages/ui/package.json
T
2026-10-11 22:14:13 +08:00

74 lines
2.0 KiB
JSON

{
"name": "@g3soft/ui",
"version": "0.0.1",
"description": "G3Soft 通用 UI 组件库",
"license": "UNLICENSED",
"type": "module",
"files": [
"dist",
"README.md"
],
"sideEffects": [
"**/*.css"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./style.css": "./dist/style.css",
"./package.json": "./package.json"
},
"scripts": {
"build": "vite build",
"typecheck": "vue-tsc --noEmit",
"prepublishOnly": "publint",
"playground": "vite --config playground/vite.config.ts",
"test": "vitest run",
"test:unit": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:headed": "playwright test --headed",
"test:e2e:report": "playwright show-report",
"verify": "pnpm typecheck && pnpm build && pnpm test:unit && pnpm test:e2e"
},
"peerDependencies": {
"vue": "^3.5.0"
},
"dependencies": {
"@g3soft/tokens": "workspace:*",
"@lucide/vue": "^1.31.0",
"@tiptap/extension-image": "^3.31.4",
"@tiptap/extension-link": "^3.31.4",
"@tiptap/extension-placeholder": "^3.31.4",
"@tiptap/extension-subscript": "^3.31.4",
"@tiptap/extension-superscript": "^3.31.4",
"@tiptap/extension-table": "^3.31.4",
"@tiptap/extension-table-cell": "^3.31.4",
"@tiptap/extension-table-header": "^3.31.4",
"@tiptap/extension-table-row": "^3.31.4",
"@tiptap/extension-text-align": "^3.31.4",
"@tiptap/extension-text-style": "^3.31.4",
"@tiptap/starter-kit": "^3.31.4"
},
"devDependencies": {
"@playwright/test": "^1.63.0",
"@tiptap/core": "^3.31.4",
"@tiptap/pm": "^3.31.4",
"@tiptap/vue-3": "^3.31.4",
"@vitejs/plugin-vue": "^6.0.0",
"@vue/test-utils": "^2.5.1",
"happy-dom": "^20.14.5",
"publint": "latest",
"sass": "catalog:",
"vite": "^8.0.0",
"vite-plugin-dts": "latest",
"vitest": "^5.0.3",
"vue": "catalog:",
"vue-tsc": "^3.0.0"
},
"publishConfig": {
"access": "restricted"
}
}