-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 2.97 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@cliz/template-single-command",
"version": "1.0.0",
"description": "Cliz Multiple Commands CLI Template",
"keywords": [
"cliz",
"cli",
"zcorky",
"zodash",
"doreamon"
],
"homepage": "https://github.com/cliz-design/template-single-command#readme",
"bugs": {
"url": "https://github.com/cliz-design/template-single-command/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cliz-design/template-single-command.git"
},
"license": "MIT",
"author": "Zero <[email protected]>",
"main": "lib/cli.js",
"typings": "lib/cli.d.ts",
"bin": {
"template-single-command": "lib/cli.js"
},
"directories": {
"lib": "lib"
},
"files": [
"lib"
],
"scripts": {
"bootstrap": "yarn",
"dev": "yarn watch",
"build": "yarn clean && tsc -p tsconfig.build.json",
"watch": "tsc -p tsconfig.build.json -w",
"clean": "rm -rf lib",
"test": "jest -w 1",
"coverage": "codecov",
"cli": "node lib/cli.js",
"register": "yarn cliz global register",
"prepare": "husky install"
},
"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
}
},
"preset": "ts-jest"
},
"dependencies": {
"@cliz/cli": "^1.0.19"
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@types/git-url-parse": "^9.0.1",
"@types/jest": "^27.4.1",
"@types/listr": "^0.14.4",
"@types/node": "^17.0.23",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"@zcorky/tsconfig": "^0.0.3",
"codecov": "^3.8.3",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.12.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"husky": "5.2.0",
"jest": "^27.5.1",
"lint-staged": "^12.3.7",
"prettier": "^2.4.1",
"ts-jest": "^27.1.4",
"typescript": "^4.4.3"
},
"publishConfig": {
"access": "public"
},
"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"
}
},
"cliz": {
"name": "template-single-command"
}
}