-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.64 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
99
100
{
"name": "tinymce-vue-plugins",
"version": "1.0.0",
"description": "tinymce-vue A set of extension plugins for the rich text compiler",
"author": "changyi",
"license": "MIT",
"scripts": {
"bootstrap": "pnpm install",
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"build:prod": "vue-tsc --noEmit && npx vite build --mode production && esno ./build/script/postBuild.ts",
"build:test": "vue-tsc --noEmit && npx vite build --mode test && esno ./build/script/postBuild.ts",
"build:no-cache": "pnpm clean:cache && npm run build",
"preview": "vite preview",
"lint": "npm-run-all lint:eslint lint:stylelint lint:prettier",
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,ts,vue,html,md}\"",
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint:lint-staged": "lint-staged",
"reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
"prepare": "husky install"
},
"dependencies": {
"@ant-design/colors": "^6.0.0",
"@biomap/cli": "^1.3.0",
"@vitejs/plugin-legacy": "^1.7.1",
"@vitejs/plugin-vue-jsx": "^1.3.7",
"dotenv": "^16.0.0",
"husky": "^7.0.4",
"mockjs": "^1.1.0",
"rollup-plugin-visualizer": "^5.5.4",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "2.1.2",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vite-plugin-windicss": "^1.7.1",
"vue": "^3.2.23"
},
"devDependencies": {
"@commitlint/cli": "^14.1.0",
"@commitlint/config-conventional": "^14.1.0",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"@vitejs/plugin-vue": "^1.9.4",
"ant-design-vue": "2.2.8",
"autoprefixer": "^10.4.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.3.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-define-config": "^1.1.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.0.3",
"less": "^4.1.2",
"lint-staged": "11.2.6",
"postcss": "^8.3.11",
"postcss-html": "^1.3.0",
"postcss-less": "^5.0.0",
"prettier": "^2.4.1",
"stylelint": "^14.0.1",
"stylelint-config-html": "^1.0.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended-vue": "^1.0.0",
"stylelint-config-standard": "^23.0.0",
"stylelint-order": "^5.0.0",
"typescript": "^4.4.4",
"vite": "^2.6.13",
"vue-tsc": "^0.28.10"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
"prettier --write--parser json"
],
"package.json": [
"prettier --write"
],
"*.vue": [
"eslint --fix",
"prettier --write",
"stylelint --fix"
],
"*.{scss,less,styl,html}": [
"stylelint --fix",
"prettier --write"
],
"*.md": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
}
}