Open History to see the last commit
1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "https://github.com/tanstack/devtools.git"
7 },
8 "packageManager": "pnpm@10.2.1",
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 "docs:generate": "node scripts/generateDocs.js",
22 "format": "pnpm run prettier:write",
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:eslint": "nx affected --target=test:eslint --exclude=examples/**",
33 "test:format": "pnpm run prettier --check",
34 "test:knip": "knip",
35 "test:lib": "nx affected --targets=test:lib --exclude=examples/**",
36 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
37 "test:pr": "nx affected --targets=test:format,test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build",
38 "test:sherif": "sherif",
39 "test:types": "nx affected --targets=test:types --exclude=examples/**",
40 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
41 },
42 "nx": {
43 "includedScripts": [
44 "test:knip",
45 "test:sherif"
46 ]
47 },
48 "size-limit": [
49 {
50 "path": "packages/devtools/dist/index.js",
51 "limit": "50 KB"
52 },
53 {
54 "path": "packages/event-bus-client/dist/esm/plugin.js",
55 "limit": "1 KB"
56 }
57 ],
58 "devDependencies": {
59 "@changesets/cli": "^2.29.2",
60 "@faker-js/faker": "^9.7.0",
61 "@size-limit/preset-small-lib": "^11.2.0",
62 "@svitejs/changesets-changelog-github-compact": "^1.2.0",
63 "@tanstack/config": "0.20.0",
64 "@testing-library/jest-dom": "^6.6.3",
65 "@types/node": "^22.15.2",
66 "eslint": "^9.25.1",
67 "eslint-plugin-unused-imports": "^4.1.4",
68 "jsdom": "^26.1.0",
69 "knip": "^5.50.5",
70 "nx": "^20.8.1",
71 "premove": "^4.0.0",
72 "prettier": "^3.5.3",
73 "prettier-plugin-svelte": "^3.3.3",
74 "publint": "^0.3.12",
75 "sherif": "^1.5.0",
76 "size-limit": "^11.2.0",
77 "typescript": "~5.9.2",
78 "vite": "^7.0.6",
79 "vitest": "^3.1.2"
80 },
81 "overrides": {
82 "@tanstack/devtools": "workspace:*",
83 "@tanstack/react-devtools": "workspace:*",
84 "@tanstack/solid-devtools": "workspace:*",
85 "@tanstack/devtools-vite": "workspace:*"
86 }
87}