-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
121 lines (121 loc) 路 3.28 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
{
"name": "@datastructures/root",
"version": "0.0.2",
"description": "Data Structures in TypeScript 馃",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "turbo run build",
"clean": "pnpm -r clean",
"commit": "git-cz",
"commit-msg": "commitlint --edit $1",
"husky-setup": "(path-exists .husky/commit-msg) || (husky install && pnpm run husky-setup:commit-msg && pnpm run husky-setup:post-merge && pnpm run husky-setup:pre-commit)",
"husky-setup:commit-msg": "npx husky add .husky/commit-msg 'npm run commit-msg'",
"husky-setup:post-merge": "npx husky add .husky/post-merge 'npm run setup'",
"husky-setup:pre-commit": "npx husky add .husky/pre-commit 'npm run pre-commit'",
"lint": "eslint --cache --fix",
"lint:ci": "eslint --cache",
"test": "vitest run --coverage",
"test:ci": "pnpm run test",
"tsc": "tsc -p ./tsconfig.test.json",
"pre-commit": "cross-env FORCE_COLOR=1 lint-staged",
"prepare": "is-ci || pnpm husky-setup",
"prepublishOnly": "pnpm test && pnpm clean && pnpm build",
"publish:prep": "changeset add",
"publish:packages": "pnpm prepublishOnly && changeset publish && git push --follow-tags",
"setup": "pnpm install --reporter=silent -r && pnpm run build",
"update": "codependence --update"
},
"repository": "git@github.com:yowainwright/datastructures.git",
"keywords": [
"typeScript",
"ts",
"data structures"
],
"author": "Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in)",
"license": "MIT",
"bugs": {
"url": "https://github.com/yowainwright/datastructures/issues"
},
"homepage": "https://github.com/yowainwright/datastructures#readme",
"devDependencies": {
"@changesets/cli": "2.27.5",
"@commitlint/cli": "19.3.0",
"@commitlint/config-lerna-scopes": "19.0.0",
"@commitlint/prompt": "19.3.1",
"@eslint/js": "^9.1.1",
"@types/node": "20.14.2",
"@vitest/coverage-c8": "^0.33.0",
"@vitest/coverage-v8": "^1.2.1",
"c8": "^9.1.0",
"changesets": "^1.0.2",
"codependence": "0.3.1",
"commitizen": "4.3.0",
"conventional-changelog-cli": "5.0.0",
"cross-env": "^7.0.3",
"eslint": "9.4.0",
"eslint-config-prettier": "^9.1.0",
"husky": "9.0.11",
"lint-staged": "15.2.5",
"path-exists-cli": "^2.0.0",
"prettier": "3.3.1",
"rimraf": "^5.0.7",
"tslib": "2.6.3",
"tsutils": "^3.21.0",
"turbo": "2.0.3",
"typescript": "5.4.5",
"typescript-eslint": "^7.7.1",
"vitest": "1.6.0"
},
"config": {
"commitizen": {
"path": "node_modules/@commitlint/prompt"
}
},
"commitlint": {
"extends": [
"@commitlint/config-lerna-scopes"
],
"rules": {
"header-max-length": [
2,
"always",
120
],
"scope-enum": [
2,
"always",
[
"root",
"avl-tree",
"linked-list",
"queue",
"stack",
"graph"
]
],
"type-enum": [
2,
"always",
[
"chore",
"feat",
"fix",
"docs",
"style",
"refactor",
"test",
"release",
"revert"
]
]
}
},
"lint-staged": {
"*.ts": [
"eslint --ext '.ts'"
]
}
}