{ "version": "1.8.0-beta.26", "name": "tmagic", "private": true, "type": "module", "packageManager": "pnpm@11.21.0", "scripts": { "bootstrap": "pnpm i && pnpm build", "clean:top": "rimraf packages/*/dist packages/*/types runtime/*/dist runtime/*/types vue-components/*/dist vue-components/*/types react-components/*/dist react-components/*/types playground/dist coverage dwt* temp packages/cli/lib", "clean:modules": "rimraf node_modules **/node_modules **/**/node_modules", "clean:all": "pnpm clean:top && pnpm clean:modules", "lint": "eslint --cache .", "lint-fix": "eslint --fix --cache .", "playground": "pnpm --filter \"runtime-vue\" build:libs && pnpm --filter \"runtime-vue\" --filter \"tmagic-playground\" dev", "pg": "pnpm playground", "playground:react": "pnpm --filter \"runtime-react\" build:libs && pnpm --filter \"runtime-react\" --filter \"tmagic-playground\" dev:react", "pg:react": "pnpm playground:react", "build": "pnpm build:dts && node scripts/build.mjs && pnpm check:headless", "check:headless": "node scripts/check-headless-dist.mjs", "build:dts": "pnpm --filter \"@tmagic/cli\" build && tsc -p tsconfig.build-browser.json && vue-tsc --declaration --emitDeclarationOnly --project tsconfig.build-vue.json && rolldown -c rolldown.dts.config.mjs && rimraf temp", "check:type": "node scripts/check-type.mjs", "build:playground": "pnpm --filter \"runtime-vue\" build && pnpm --filter \"tmagic-playground\" build", "docs:dev": "vitepress dev docs", "docs:serve": "vitepress serve docs", "docs:build": "vitepress build docs", "reinstall": "pnpm clean:all && pnpm bootstrap", "test": "vitest run", "coverage": "vitest run --coverage && node scripts/check-coverage.mjs", "prepare": "husky", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "release": "node scripts/release.mjs" }, "engines": { "node": "^20.19.0 || >=22.12.0" }, "workspaces": [ "packages/*" ], "repository": { "type": "git", "url": "https://github.com/Tencent/tmagic-editor.git" }, "devDependencies": { "@commitlint/cli": "^21.2.1", "@commitlint/config-conventional": "^21.2.0", "@tmagic/eslint-config": "workspace:*", "@types/node": "26.1.2", "@vitejs/plugin-vue": "^6.0.8", "@vitest/coverage-v8": "^4.1.10", "@vue/compiler-sfc": "catalog:", "c8": "^12.0.0", "commitizen": "^4.3.2", "conventional-changelog-cli": "^5.0.0", "cosmiconfig": "^10.0.0", "cz-conventional-changelog": "^3.3.0", "element-plus": "catalog:", "enquirer": "^2.4.1", "eslint": "^10.8.1", "execa": "^10.0.1", "happy-dom": "^20.11.2", "highlight.js": "^11.11.1", "husky": "^9.1.7", "jsdom": "^30.0.1", "lint-staged": "^17.3.0", "minimist": "^1.2.8", "picocolors": "^1.1.1", "prettier": "^3.9.6", "recast": "^0.23.20", "rimraf": "^6.1.3", "rolldown": "^1.2.3", "rolldown-plugin-dts": "^0.28.1", "sass-embedded": "^1.100.0", "semver": "^7.8.5", "serialize-javascript": "^7.1.0", "shx": "^0.4.0", "typescript": "catalog:", "vite": "catalog:", "vitepress": "2.0.0-alpha.19", "vitest": "^4.1.10", "vue": "^3.5.41", "vue-tsc": "^3.3.9" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "lint-staged": { "*.{js,ts,vue}": "npm run lint-fix", "*.scss": "prettier --write" } }