mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-10-04 17:39:59 +08:00
95 lines
3.2 KiB
JSON
95 lines
3.2 KiB
JSON
{
|
|
"version": "1.3.9",
|
|
"name": "tmagic",
|
|
"private": true,
|
|
"type": "module",
|
|
"packageManager": "pnpm@8.2.0",
|
|
"scripts": {
|
|
"bootstrap": "pnpm i && pnpm build",
|
|
"clean:top": "rimraf */**/dist */**/types */dist coverage dwt*",
|
|
"clean:modules": "rimraf node_modules **/node_modules **/**/node_modules",
|
|
"clean:all": "pnpm clean:top && pnpm clean:modules",
|
|
"lint": "eslint . --ext .js,.vue,.ts,.tsx",
|
|
"lint-fix": "eslint . --fix --ext .vue,.js,.ts,.tsx",
|
|
"playground": "pnpm --filter \"runtime-vue3\" build:libs && pnpm --filter \"runtime-vue3\" --filter \"tmagic-playground\" dev",
|
|
"pg": "pnpm playground",
|
|
"playground:vue2": "pnpm --filter \"runtime-vue2\" build:libs && pnpm --filter \"runtime-vue2\" --filter \"tmagic-playground\" dev:vue2",
|
|
"pg:vue2": "pnpm playground:vue2",
|
|
"playground:react": "pnpm --filter \"runtime-react\" build:libs && pnpm --filter \"runtime-react\" --filter \"tmagic-playground\" dev:react",
|
|
"pg:react": "pnpm playground:react",
|
|
"build": "pnpm --filter \"@tmagic/*\" build",
|
|
"build:playground": "pnpm --filter \"runtime-vue3\" 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",
|
|
"prepare": "husky install",
|
|
"commit": "git-cz",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
"release": "node scripts/release.cjs"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Tencent/tmagic-editor.git"
|
|
},
|
|
"devDependencies": {
|
|
"@algolia/client-search": ">= 4.9.1 < 6",
|
|
"@babel/core": "^7.18.0",
|
|
"@commitlint/cli": "^18.2.0",
|
|
"@commitlint/config-conventional": "^18.1.0",
|
|
"@types/node": "^18.19.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
|
"@typescript-eslint/parser": "^5.57.1",
|
|
"@vitejs/plugin-vue": "^4.5.2",
|
|
"@vitest/coverage-v8": "^1.0.4",
|
|
"c8": "^7.11.3",
|
|
"chalk": "^4.1.0",
|
|
"commitizen": "^4.3.0",
|
|
"conventional-changelog-cli": "^4.1.0",
|
|
"cosmiconfig": "^8.3.6",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"element-plus": "^2.4.3",
|
|
"enquirer": "^2.3.6",
|
|
"eslint": "^8.38.0",
|
|
"eslint-config-tencent": "^1.0.4",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"eslint-plugin-vue": "^9.10.0",
|
|
"execa": "^4.0.2",
|
|
"highlight.js": "^11.7.0",
|
|
"husky": "^7.0.0",
|
|
"jsdom": "^19.0.0",
|
|
"lint-staged": "^11.0.1",
|
|
"minimist": "^1.2.6",
|
|
"prettier": "^2.8.7",
|
|
"recast": "^0.20.4",
|
|
"rimraf": "^3.0.2",
|
|
"semver": "^7.3.7",
|
|
"serialize-javascript": "^6.0.0",
|
|
"shx": "^0.3.4",
|
|
"typescript": "^5.0.4",
|
|
"vite": "^5.0.7",
|
|
"vitepress": "1.0.0-rc.31",
|
|
"vitest": "^1.0.4",
|
|
"vue": "^3.3.8"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,vue}": "eslint --fix",
|
|
"*.scss": "prettier --write"
|
|
}
|
|
}
|