forked from fuzhuzhang/tmagic-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.18 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
{
"version": "1.2.2",
"name": "tmagic",
"private": true,
"packageManager": "pnpm@7.1.9",
"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\" --filter \"tmagic-playground\" dev",
"pg": "pnpm playground",
"playground:vue2": "pnpm --filter \"runtime-vue2\" --filter \"tmagic-playground\" dev:vue2",
"pg:vue2": "pnpm playground:vue2",
"playground:react": "pnpm --filter \"runtime-react\" --filter \"tmagic-playground\" dev:react",
"pg:react": "pnpm playground:react",
"build": "pnpm --filter \"@tmagic/*\" build",
"build:runtime:admin": "pnpm --filter \"runtime-*\" build:admin",
"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.js"
},
"engines": {
"node": ">=14"
},
"workspaces": [
"packages/code-editor",
"packages/editor",
"packages/form",
"packages/stage",
"packages/utils"
],
"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": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@types/node": "^15.12.4",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"@vitejs/plugin-vue": "^3.1.0",
"@vitest/coverage-c8": "^0.23.4",
"c8": "^7.11.3",
"chalk": "^4.1.0",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.2.2",
"cz-conventional-changelog": "^3.3.0",
"element-plus": "^2.2.19",
"enquirer": "^2.3.6",
"eslint": "^7.29.0",
"eslint-config-tencent": "^1.0.4",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-vue": "^7.11.1",
"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.3.1",
"recast": "^0.20.4",
"rimraf": "^3.0.2",
"semver": "^7.3.7",
"serialize-javascript": "^6.0.0",
"shx": "^0.3.4",
"typescript": "^4.7.4",
"vite": "^3.1.3",
"vitepress": "1.0.0-alpha.29",
"vitest": "^0.23.4",
"vue": "^3.2.37"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,ts,vue}": "eslint --fix",
"*.scss": "prettier --write"
}
}