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

package.json

107 lines4.0 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@11.1.1",
9 "engines": {
10 "pnpm": ">=11.0.0"
11 },
12 "type": "module",
13 "scripts": {
14 "build": "nx affected --targets=build --exclude=examples/**,e2e/** && size-limit",
15 "build:all": "nx run-many --targets=build --exclude=examples/**,e2e/** && size-limit",
16 "build:core": "nx build @tanstack/devtools && size-limit",
17 "changeset": "changeset",
18 "changeset:publish": "changeset publish",
19 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
20 "clean": "find . -name 'dist' -type d -prune -exec rm -rf {} +",
21 "clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
22 "clean:all": "pnpm run clean && pnpm run clean:node_modules",
23 "dev": "pnpm run watch",
24 "format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
25 "generate-docs": "node scripts/generate-docs.ts",
26 "lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
27 "lint:fix:all": "pnpm run format && nx run-many --targets=lint --fix",
28 "preinstall": "node -e \"if(process.env.CI === 'true') { console.log('Skipping preinstall...'); process.exit(0); } process.exit(1);\" || npx -y only-allow@1.2.2 pnpm",
29 "size": "size-limit",
30 "test": "pnpm run test:ci",
31 "test:build": "nx affected --target=test:build --exclude=examples/**",
32 "test:ci": "nx run-many --targets=test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build",
33 "test:docs": "node scripts/verify-links.ts",
34 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
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:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build",
39 "test:e2e": "nx run-many --target=test:e2e --parallel=1 --projects=devtools-e2e-react-vite,devtools-e2e-react-start,devtools-e2e-react-cloudflare,devtools-e2e-react-nitro,devtools-e2e-solid,devtools-e2e-vue,devtools-e2e-preact,devtools-e2e-angular",
40 "test:sherif": "sherif",
41 "test:types": "nx affected --targets=test:types --exclude=examples/**",
42 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
43 },
44 "nx": {
45 "includedScripts": [
46 "test:docs",
47 "test:knip",
48 "test:sherif"
49 ]
50 },
51 "size-limit": [
52 {
53 "path": "packages/devtools/dist/index.js",
54 "limit": "60 KB"
55 },
56 {
57 "path": "packages/event-bus-client/dist/esm/plugin.js",
58 "limit": "1.2 KB"
59 }
60 ],
61 "devDependencies": {
62 "@changesets/changelog-github": "^0.7.0",
63 "@changesets/cli": "^2.30.0",
64 "@faker-js/faker": "^9.9.0",
65 "@size-limit/preset-small-lib": "^11.2.0",
66 "@tanstack/eslint-config": "0.3.2",
67 "@tanstack/intent": "^0.0.14",
68 "@tanstack/typedoc-config": "0.3.3",
69 "@tanstack/vite-config": "0.4.3",
70 "@testing-library/jest-dom": "^6.8.0",
71 "@types/node": "^22.15.2",
72 "eslint": "^9.36.0",
73 "eslint-plugin-unused-imports": "^4.2.0",
74 "jsdom": "^27.0.0",
75 "knip": "^5.64.0",
76 "markdown-link-extractor": "^4.0.2",
77 "nx": "22.1.3",
78 "premove": "^4.0.0",
79 "prettier": "^3.8.1",
80 "prettier-plugin-svelte": "^3.4.1",
81 "publint": "^0.3.13",
82 "sherif": "^1.7.0",
83 "size-limit": "^11.2.0",
84 "tinyglobby": "^0.2.15",
85 "typescript": "~5.9.2",
86 "vite": "^8.0.0",
87 "vitest": "^3.2.4"
88 },
89 "overrides": {
90 "@tanstack/devtools": "workspace:*",
91 "@tanstack/devtools-a11y": "workspace:*",
92 "@tanstack/react-devtools": "workspace:*",
93 "@tanstack/preact-devtools": "workspace:*",
94 "@tanstack/solid-devtools": "workspace:*",
95 "@tanstack/devtools-vite": "workspace:*",
96 "@tanstack/svelte-devtools": "workspace:*",
97 "@tanstack/angular-devtools": "workspace:*"
98 },
99 "files": [
100 "skills",
101 "bin",
102 "!skills/_artifacts"
103 ],
104 "bin": {
105 "intent": "./bin/intent.js"
106 }