-
Notifications
You must be signed in to change notification settings - Fork 359
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3.06 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 3.06 KB
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
101
102
103
104
{
"name": "@tdesign/common",
"private": true,
"version": "1.0.0",
"homepage": "https://github.com/Tencent",
"description": "TDesign UI 样式库以及组件库公共函数(js)",
"main": "",
"scripts": {
"lint": "npm run lint:css && npm run lint:js && npm run lint:eslint && npm run typecheck",
"lint:css": "stylelint **/*.{css,wxss,less} --allow-empty-input --cache",
"lint:js": "prettier --check \"**/*.{vue,js,ts,jsx,tsx,json,md}\" --ignore-path .prettierignore",
"lint:eslint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --max-warnings 0 --cache",
"lint:css:fix": "stylelint **/*.{css,wxss,less} --fix --allow-empty-input --cache",
"lint:js:fix": "prettier --write \"**/*.{vue,js,ts,jsx,tsx,json,md}\" --ignore-path .prettierignore",
"lint:eslint:fix": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --fix --max-warnings 0 --cache",
"lint:fix": "npm run lint:css:fix && npm run lint:js:fix && npm run lint:eslint:fix",
"test": "npm run test:unit",
"test:unit": "vitest run --coverage",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "https://github.com/Tencent/tdesign-common.git"
},
"keywords": [
"tdesign",
"feflow",
"ui",
"react",
"vue",
"miniprogram",
"pc",
"mobile"
],
"author": "TDesign UI",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.0.3",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.10.2",
"@types/tinycolor2": "^1.4.6",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/experimental-utils": "^2.24.0",
"@typescript-eslint/parser": "^6.21.0",
"@typescript-eslint/typescript-estree": "^8.8.0",
"@vitest/coverage-v8": "^3.1.4",
"commitizen": "^4.2.2",
"commitlint": "^17.0.3",
"conventional-changelog-cli": "^2.1.1",
"cz-conventional-changelog": "^3.3.0",
"dayjs": "^1.11.4",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^8.0.1",
"lint-staged": "~13.2.0",
"min-indent": "^1.0.1",
"postcss-less": "^5.0.0",
"prettier": "^3.6.2",
"stylelint": "~14.16.1",
"stylelint-config-standard": "^24.0.0",
"typescript": "^5.7.3",
"vitest": "^3.1.4"
},
"browserslist": [
"> 3%",
"last 2 versions",
"ie >= 11",
"ios >= 9",
"android >= 4.4"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"lodash-es": "^4.17.21",
"mitt": "^3.0.0",
"tinycolor2": "^1.4.2"
},
"lint-staged": {
"**/*.{css,wxss,less}": [
"stylelint --fix --allow-empty-input"
],
"**/*.{vue,js,ts,jsx,tsx,mjs}": [
"prettier --write",
"eslint --fix"
],
"**/*.{json,md}": [
"prettier --write"
]
}
}