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

package.json

81 lines3.1 KB

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 "dev": "pnpm run watch",
20 "docs:generate": "node scripts/generateDocs.js",
21 "format": "pnpm run prettier:write",
22 "lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
23 "lint:fix:all": "pnpm run format && nx run-many --targets=lint --fix",
24 "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
25 "prettier": "prettier --ignore-unknown '**/*'",
26 "prettier:write": "pnpm run prettier --write",
27 "size": "size-limit",
28 "test": "pnpm run test:ci",
29 "test:build": "nx affected --target=test:build --exclude=examples/**",
30 "test:ci": "nx run-many --targets=test:format,test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build",
31 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
32 "test:format": "pnpm run prettier --check",
33 "test:knip": "knip",
34 "test:lib": "nx affected --targets=test:lib --exclude=examples/**",
35 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
36 "test:pr": "nx affected --targets=test:format,test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build",
37 "test:sherif": "sherif",
38 "test:types": "nx affected --targets=test:types --exclude=examples/**",
39 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
40 },
41 "nx": {
42 "includedScripts": [
43 "test:knip",
44 "test:sherif"
45 ]
46 },
47 "size-limit": [
48 {
49 "path": "packages/devtools/dist/esm/index.js",
50 "limit": "6 KB"
51 }
52 ],
53 "devDependencies": {
54 "@changesets/cli": "^2.29.2",
55 "@faker-js/faker": "^9.7.0",
56 "@size-limit/preset-small-lib": "^11.2.0",
57 "@svitejs/changesets-changelog-github-compact": "^1.2.0",
58 "@tanstack/config": "0.18.0",
59 "@testing-library/jest-dom": "^6.6.3",
60 "@types/node": "^22.15.2",
61 "eslint": "^9.25.1",
62 "eslint-plugin-unused-imports": "^4.1.4",
63 "jsdom": "^26.1.0",
64 "knip": "^5.50.5",
65 "nx": "^20.8.1",
66 "premove": "^4.0.0",
67 "prettier": "^3.5.3",
68 "prettier-plugin-svelte": "^3.3.3",
69 "publint": "^0.3.12",
70 "sherif": "^1.5.0",
71 "size-limit": "^11.2.0",
72 "typescript": "5.8.3",
73 "vite": "^6.3.3",
74 "vitest": "^3.1.2"
75 },
76 "overrides": {
77 "@tanstack/devtools": "workspace:*",
78 "@tanstack/react-devtools": "workspace:*",
79 "@tanstack/solid-devtools": "workspace:*"
80 }