-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.54 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 3.54 KB
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
{
"name": "root",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/TanStack/hotkeys.git"
},
"packageManager": "pnpm@10.30.1",
"type": "module",
"scripts": {
"build": "nx affected --skip-nx-cache --targets=build --exclude=examples/** && size-limit",
"build:all": "nx run-many --targets=build --exclude=examples/**",
"build:core": "nx run-many --targets=build --projects=packages/hotkeys",
"changeset": "changeset",
"changeset:publish": "changeset publish",
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
"clean": "find . -name 'dist' -type d -prune -exec rm -rf {} +",
"clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
"clean:all": "pnpm run clean && pnpm run clean:node_modules",
"copy:readme": "cp README.md packages/hotkeys/README.md && cp README.md packages/hotkeys-devtools/README.md && cp README.md packages/react-hotkeys/README.md && cp README.md packages/react-hotkeys-devtools/README.md && cp README.md packages/preact-hotkeys/README.md && cp README.md packages/preact-hotkeys-devtools/README.md",
"dev": "pnpm run watch",
"format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
"generate-docs": "node scripts/generate-docs.ts && pnpm run copy:readme",
"lint": "nx affected --target=lint --exclude=examples/**",
"lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
"lint:fix:all": "nx run-many --targets=lint:fix",
"test": "pnpm run test:ci",
"test:ci": "nx run-many --targets=test:eslint,test:sherif,test:knip,test:docs,test:lib,test:types,build",
"test:docs": "node scripts/verify-links.ts",
"test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
"test:knip": "knip",
"test:lib": "nx affected --targets=test:lib --exclude=examples/**",
"test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
"test:pr": "nx affected --targets=test:eslint,test:sherif,test:knip,test:docs,test:lib,test:types,build",
"test:sherif": "sherif",
"test:types": "nx affected --targets=test:types --exclude=examples/**",
"watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
},
"size-limit": [
{
"path": "packages/hotkeys/dist/index.js",
"limit": "8 KB"
}
],
"nx": {
"includedScripts": [
"test:docs",
"test:knip",
"test:sherif"
]
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@faker-js/faker": "^10.3.0",
"@size-limit/preset-small-lib": "^12.0.0",
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
"@tanstack/eslint-config": "0.4.0",
"@tanstack/typedoc-config": "0.3.3",
"@testing-library/jest-dom": "^6.9.1",
"@types/node": "^25.3.0",
"eslint": "^9.32.2",
"eslint-plugin-unused-imports": "^4.4.1",
"happy-dom": "^20.7.0",
"knip": "^5.84.1",
"markdown-link-extractor": "^4.0.3",
"nx": "^22.5.2",
"premove": "^4.0.0",
"prettier": "^3.8.1",
"prettier-plugin-svelte": "^3.5.0",
"publint": "^0.3.17",
"sherif": "^1.10.0",
"size-limit": "^12.0.0",
"tinyglobby": "^0.2.15",
"tsdown": "^0.20.3",
"typescript": "5.9.3",
"vitest": "^4.0.18"
},
"overrides": {
"@tanstack/hotkeys": "workspace:*",
"@tanstack/hotkeys-devtools": "workspace:*",
"@tanstack/preact-hotkeys": "workspace:*",
"@tanstack/preact-hotkeys-devtools": "workspace:*",
"@tanstack/react-hotkeys": "workspace:*",
"@tanstack/react-hotkeys-devtools": "workspace:*"
}
}