-
Notifications
You must be signed in to change notification settings - Fork 312
/
package.json
97 lines (97 loc) · 2.63 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
{
"name": "tdesign-common",
"version": "1.0.0",
"homepage": "https://github.com/Tencent",
"description": "TDesign UI 样式库以及组件库公共函数(js)",
"main": "",
"scripts": {
"lint": "npm run lint:css && npm run lint:js",
"lint:css": "stylelint **/*.{css,wxss,less} --allow-empty-input --cache",
"lint:js": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --max-warnings 0 --cache",
"lint:fix": "npm run lint:css -- --fix && npm run lint:js -- --fix",
"test": "npm run test:unit",
"test:unit": "jest --config test/script/jest.unit.conf.js --coverage",
"test:watch": "jest --config test/script/jest.unit.conf.js --watch",
"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": {
"@babel/core": "^7.10.5",
"@babel/plugin-syntax-flow": "^7.12.1",
"@babel/preset-env": "^7.5.5",
"@babel/preset-flow": "^7.12.1",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.0.3",
"@types/jest": "^27.4.1",
"@types/lodash": "4.17.13",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/experimental-utils": "^2.24.0",
"@typescript-eslint/parser": "^4.29.0",
"@typescript-eslint/typescript-estree": "^8.8.0",
"babel-jest": "^27.5.1",
"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": "^7.4.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.24.2",
"husky": "^8.0.1",
"jest": "^27.5.1",
"jest-html-reporter": "^3.1.3",
"jest-watch-typeahead": "^2.2.0",
"lint-staged": "~13.2.0",
"min-indent": "^1.0.1",
"postcss-less": "^5.0.0",
"stylelint": "~14.16.1",
"stylelint-config-standard": "^24.0.0",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
},
"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": "^4.17.15",
"mitt": "^3.0.0",
"tinycolor2": "^1.4.2"
},
"lint-staged": {
"**/*.{css,wxss,less}": [
"stylelint"
],
"**/*.{js,ts}": [
"eslint --max-warnings 0 --no-ignore"
]
}
}