-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
140 lines (140 loc) · 3.54 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
132
133
134
135
136
137
138
139
140
{
"name": "@common-utilities/root",
"version": "0.0.1",
"description": "Common utilities for javascript development 🧰",
"repository": "[email protected]:yowainwright/common-utilities.git",
"author": "Jeff Wainwright <[email protected]> (https://jeffry.in)",
"license": "MIT",
"main": "README.md",
"private": true,
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/format": "^19.3.0",
"@commitlint/prompt": "19.5.0",
"@common-utilities/new-pkg": "workspace:*",
"@eslint/js": "^9.1.1",
"@swc/core": "^1.5.0",
"@swc/jest": "0.2.37",
"@types/jest": "29.5.14",
"@types/node": "22.9.0",
"codependence": "^0.3.1",
"commitizen": "4.3.1",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.2.10",
"pastoralist": "1.1.12-beta.5",
"prettier": "3.3.3",
"rimraf": "6.0.1",
"ts-node": "10.9.2",
"ts-toolbelt": "^9.6.0",
"tsconfig-paths": "4.2.0",
"tslib": "2.8.1",
"tsutils": "^3.21.0",
"turbo": "^1.13.2",
"type-fest": "^4.17.0",
"typescript": "5.6.3",
"typescript-eslint": "^7.7.1"
},
"scripts": {
"build": "turbo run clean && turbo run build",
"create-pkg": "node --es-module-specifier-resolution=node node_modules/@common-utilities/new-pkg/dist",
"ci": "run-s lint:ci test:ci",
"commit-msg": "commitlint --edit $1",
"lint": "pnpm lint:cmd --fix",
"lint:ci": "pnpm lint:cmd",
"lint:cmd": "eslint",
"lint-staged": "npx lint-staged",
"test": "pnpm test:cmd",
"test:ci": "pnpm test:cmd --ci",
"test:cmd": "jest --maxWorkers=4 --noStackTrace --collectCoverage=true",
"commit": "git-cz",
"commit:retry": "git-cz --retry",
"commitmsg": "commitlint -e",
"deploy": "pnpm build && pnpm -r publish",
"prepublishOnly": "pnpm build",
"prepare": "husky",
"release-prep": "changeset",
"release-bumps": "changeset version",
"release-packages": "pnpm prepublishOnly && changeset publish && git push --follow-tags",
"update": "codependence --update",
"check-deps": "pastoralist --debug"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
2,
"always",
120
],
"scope-enum": [
2,
"always",
[
"curry",
"root",
"compose",
"debounce",
"head",
"pipe",
"repeat",
"trace",
"filter-array",
"merge-objects",
"is-object",
"string-interpolation",
"kebab-to-camel-string",
"throttle",
"trim-whitespace",
"wait-until-defined",
"rot13",
"snake-to-camel-string"
]
],
"type-enum": [
2,
"always",
[
"chore",
"feat",
"fix",
"docs",
"style",
"refactor",
"test",
"release",
"revert"
]
]
}
},
"jest": {
"transform": {
"^.+\\.ts$": "@swc/jest"
}
},
"lint-staged": {
"*.{ts,json,md}": [
"pnpm lint"
],
"*.{ts,tsx}": [
"jest --bail --findRelatedTests --passWithNoTests"
]
},
"pastoralist": {
"appendix": {
"minimist@^1.2.6": {
"dependents": {
"typescript": "minimist@^1.2.8"
}
}
}
}
}