Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

package.json

94 lines3.6 KB

1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "git+https://github.com/TanStack/devtools.git"
7 },
8 "packageManager": "pnpm@10.24.0",
9 "type": "module",
10 "scripts": {
11 "build": "nx affected --targets=build --exclude=examples/** && size-limit",
12 "build:all": "nx run-many --targets=build --exclude=examples/** && size-limit",
13 "build:core": "nx build @tanstack/devtools && size-limit",
14 "changeset": "changeset",
15 "changeset:publish": "changeset publish",
16 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm prettier:write",
17 "clean": "find . -name 'dist' -type d -prune -exec rm -rf {} +",
18 "clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
19 "clean:all": "pnpm run clean && pnpm run clean:node_modules",
20 "dev": "pnpm run watch",
21 "format": "pnpm run prettier:write",
22 "generate-docs": "node scripts/generate-docs.ts",
23 "lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
24 "lint:fix:all": "pnpm run format && nx run-many --targets=lint --fix",
25 "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
26 "prettier": "prettier --ignore-unknown '**/*'",
27 "prettier:write": "pnpm run prettier --write",
28 "size": "size-limit",
29 "test": "pnpm run test:ci",
30 "test:build": "nx affected --target=test:build --exclude=examples/**",
31 "test:ci": "nx run-many --targets=test:format,test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build",
32 "test:docs": "node scripts/verify-links.ts",
33 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
34 "test:format": "pnpm run prettier --check",
35 "test:knip": "knip",
36 "test:lib": "nx affected --targets=test:lib --exclude=examples/**",
37 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
38 "test:pr": "nx affected --targets=test:format,test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build",
39 "test:sherif": "sherif",
40 "test:types": "nx affected --targets=test:types --exclude=examples/**",
41 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
42 },
43 "nx": {
44 "includedScripts": [
45 "test:docs",
46 "test:knip",
47 "test:sherif"
48 ]
49 },
50 "size-limit": [
51 {
52 "path": "packages/devtools/dist/index.js",
53 "limit": "60 KB"
54 },
55 {
56 "path": "packages/event-bus-client/dist/esm/plugin.js",
57 "limit": "1.2 KB"
58 }
59 ],
60 "devDependencies": {
61 "@changesets/cli": "^2.29.7",
62 "@faker-js/faker": "^9.9.0",
63 "@size-limit/preset-small-lib": "^11.2.0",
64 "@svitejs/changesets-changelog-github-compact": "^1.2.0",
65 "@tanstack/eslint-config": "0.3.2",
66 "@tanstack/typedoc-config": "0.2.1",
67 "@tanstack/vite-config": "0.2.1",
68 "@testing-library/jest-dom": "^6.8.0",
69 "@types/node": "^22.15.2",
70 "eslint": "^9.36.0",
71 "eslint-plugin-unused-imports": "^4.2.0",
72 "jsdom": "^27.0.0",
73 "knip": "^5.64.0",
74 "markdown-link-extractor": "^4.0.2",
75 "nx": "22.1.3",
76 "premove": "^4.0.0",
77 "prettier": "^3.6.2",
78 "prettier-plugin-svelte": "^3.4.0",
79 "publint": "^0.3.13",
80 "sherif": "^1.7.0",
81 "size-limit": "^11.2.0",
82 "tinyglobby": "^0.2.15",
83 "typescript": "~5.9.2",
84 "vite": "^7.1.7",
85 "vitest": "^3.2.4"
86 },
87 "overrides": {
88 "@tanstack/devtools": "workspace:*",
89 "@tanstack/react-devtools": "workspace:*",
90 "@tanstack/preact-devtools": "workspace:*",
91 "@tanstack/solid-devtools": "workspace:*",
92 "@tanstack/devtools-vite": "workspace:*"
93 }