-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 1.77 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
{
"name": "cmd-check",
"version": "1.0.2",
"description": "Checks whether the command exists and whether it matches the specified version.",
"main": "./lib/index.js",
"bin": "./lib/cli.js",
"scripts": {
"dev": "ts-node ./src/cli.ts",
"clean": "rimraf ./lib/",
"build": "npm run clean && tsc",
"release": "npm run build && release-it --",
"eslint": "eslint --cache --fix --format codeframe",
"check-types": "tsc --noEmit"
},
"files": [
"LICENSE",
"README.md",
"CHANGELOG.md",
"lib/",
"src/"
],
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E GIT_PARAMS",
"pre-push": "yarn check-types"
},
"lint-staged": {
"*.{ts,js}": [
"yarn eslint"
]
},
"dependencies": {
"chalk": "^4.1.2",
"commander": "^12.1.0",
"fs-extra": "^11.2.0",
"ora": "^5.4.1",
"semver": "^7.6.2"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@types/fs-extra": "^11.0.4",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"auto-changelog": "^2.2.1",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"lint-staged": "^15.2.5",
"prettier": "^2.8.4",
"release-it": "^14.2.2",
"rimraf": "^5.0.7",
"standard-version": "^9.5.0",
"ts-node": "^10.9.2",
"typescript": "^4.9.5",
"yorkie": "^2.0.0"
},
"commandCheck": {
"node": true
},
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/ystarlongzi/command-check",
"author": "ystarlongzi <[email protected]>",
"license": "MIT"
}