/
package.json
103 lines (103 loc) · 2.32 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
101
102
103
{
"name": "@zcorky/action-robot-feishu",
"version": "0.0.13",
"description": "feishu robot github action",
"main": "lib/index.js",
"repository": "https://github.com/whatwewant/action-robot-feishu",
"author": "Zero <tobewhatwewant@gmail.com>",
"keywords": [
"action",
"robot",
"feishu"
],
"license": "MIT",
"scripts": {
"commit": "cz",
"fmt": "yarn eslint && prettier --write ./**/*.ts",
"clean": "rm -rf lib",
"build": "yarn run clean && tsc",
"test": "jest",
"coverage": "codecov",
"eslint": "eslint ./**/*.ts --fix",
"prepare": "husky install"
},
"files": [
"lib"
],
"dependencies": {
"@actions/core": "^1.2.7",
"@actions/github": "^5.0.0",
"@zcorky/tsconfig": "^0.0.3",
"@zodash/nobot": "^0.0.1"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@types/jest": "^26.0.23",
"@types/node": "^15.3.0",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"codecov": "^3.8.2",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.26.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.23.1",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
},
"lint-staged": {
"**/*.ts": [
"echo 'lint stage run'",
"prettier --write --ignore-unknown",
"eslint --fix"
],
"*.{json.css,md,yml,yaml}": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"roots": [
"__tests__"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": ".*\\.(spec|test)\\.(ts|tsx)$",
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
}
},
"publishConfig": {
"access": "public"
}
}