-
Notifications
You must be signed in to change notification settings - Fork 716
/
package.json
98 lines (98 loc) · 3.61 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"version": "1.5.0-beta.16",
"name": "tmagic",
"private": true,
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"bootstrap": "pnpm i && pnpm build",
"clean:top": "rimraf */**/dist */**/types */dist coverage dwt* temp",
"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 build:dts && pnpm --filter \"@tmagic/*\" build",
"build:dts": "pnpm --filter \"@tmagic/cli\" build && tsc -p tsconfig.build-browser.json && vue-tsc --declaration --emitDeclarationOnly --project tsconfig.build-vue.json && rollup -c rollup.dts.config.js && rimraf temp",
"check:type": "tsc --incremental --noEmit -p tsconfig.check.json && vue-tsc --noEmit -p tsconfig.check-vue.json",
"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.mjs"
},
"engines": {
"node": ">=18"
},
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@rollup/plugin-alias": "^5.1.1",
"@types/node": "18.19.61",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-vue": "^5.1.4",
"@vitest/coverage-v8": "^2.1.4",
"c8": "^7.14.0",
"commitizen": "^4.3.1",
"conventional-changelog-cli": "^4.1.0",
"cosmiconfig": "^8.3.6",
"cz-conventional-changelog": "^3.3.0",
"element-plus": "^2.8.6",
"enquirer": "^2.4.1",
"eslint": "^8.57.1",
"eslint-config-tencent": "^1.1.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-vue": "^9.30.0",
"execa": "^4.1.0",
"highlight.js": "^11.10.0",
"husky": "^7.0.4",
"jsdom": "^19.0.0",
"lint-staged": "^11.2.6",
"minimist": "^1.2.8",
"picocolors": "^1.1.1",
"prettier": "^2.8.8",
"recast": "^0.20.5",
"rimraf": "^3.0.2",
"rollup": "^4.24.3",
"rollup-plugin-dts": "^6.1.1",
"semver": "^7.6.3",
"serialize-javascript": "^6.0.2",
"shx": "^0.3.4",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vitepress": "^1.4.2",
"vitest": "^2.1.4",
"vue": "^3.5.12",
"vue-tsc": "^2.1.10"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,ts,vue}": "eslint --fix",
"*.scss": "prettier --write"
}
}