This repository has been archived by the owner on Jun 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 3.08 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
129
130
131
{
"name": "@liting-yes/template-ts",
"type": "module",
"version": "0.1.3",
"private": false,
"description": "a universal template for typescript",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"author": "liting <luz.liting@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/dev-standard/template-ts#readme",
"repository": {
"type": "git",
"url": "https://github.com/dev-standard/template-ts.git"
},
"keywords": [
"template",
"typescript"
],
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"lint": "eslint .",
"format": "eslint --fix .",
"commit": "git add . && git-cz",
"release": "release-it",
"build": "unbuild",
"prepare": "git config core.hooksPath .git/hooks/ && npx simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config-ts": "^0.34.1",
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@commitlint/cz-commitlint": "^17.4.2",
"@release-it/conventional-changelog": "^5.1.1",
"@tsconfig/node-lts-strictest": "^18.12.1",
"commitizen": "^4.3.0",
"eslint": "^8.32.0",
"inquirer": "8",
"lint-staged": "^13.1.0",
"release-it": "^15.6.0",
"simple-git-hooks": "^2.8.1",
"unbuild": "^1.1.1"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx commitlint --edit ''"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,json}": "eslint --fix"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"requireBranch": "main"
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"hidden": true
},
{
"type": "perf",
"hidden": true
},
{
"type": "test",
"hidden": true
}
]
},
"infile": "CHANGELOG.md",
"header": "# Changelog",
"ignoreRecommendedBump": true,
"strictSemVer": false
}
},
"hooks": {
"after:bump": "npx unbuild",
"after:git:release": "git push origin HEAD"
}
}
}