Open History to see the last commit
1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "git+https://github.com/TanStack/template.git"
7 },
8 "packageManager": "pnpm@12.6.0",
9 "type": "module",
10 "scripts": {
11 "build": "nx affected --skip-nx-cache --targets=build --exclude=examples/** && size-limit",
12 "build:all": "nx run-many --targets=build --exclude=examples/** && size-limit",
13 "build:core": "nx run-many --targets=build --projects=packages/template",
14 "changeset": "changeset",
15 "changeset:publish": "changeset publish",
16 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
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 "copy:readme": "cp README.md packages/template/README.md && cp README.md packages/template-devtools/README.md && cp README.md packages/react-template/README.md && cp README.md packages/react-template-devtools/README.md && cp README.md packages/solid-template/README.md && cp README.md packages/solid-template-devtools/README.md",
21 "dev": "pnpm run watch",
22 "format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
23 "generate-docs": "node scripts/generate-docs.ts && pnpm run copy:readme",
24 "lint": "nx affected --target=lint --exclude=examples/**",
25 "lint:all": "pnpm run test:eslint && pnpm -r --filter \"./examples/**\" --if-present lint",
26 "lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
27 "lint:fix:all": "nx run-many --targets=lint:fix",
28 "test": "pnpm run test:ci",
29 "test:ci": "pnpm run lint:all && nx run-many --targets=test:sherif,test:knip,test:docs,test:lib,test:types,test:build,build && size-limit",
30 "test:docs": "node scripts/verify-links.ts",
31 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
32 "test:knip": "knip",
33 "test:lib": "nx affected --targets=test:lib --exclude=examples/**",
34 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
35 "test:pr": "pnpm run lint:all && nx affected --targets=test:sherif,test:knip,test:docs,test:lib,test:types,test:build,build",
36 "test:sherif": "sherif",
37 "test:types": "nx affected --targets=test:types --exclude=examples/**",
38 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
39 "test:build": "nx affected --target=test:build",
40 "preview:publish": "pkg-pr-new publish --pnpm './packages/*' --template './examples/*/*'"
41 },
42 "nx": {
43 "includedScripts": [
44 "test:docs",
45 "test:knip",
46 "test:sherif"
47 ]
48 },
49 "size-limit": [
50 {
51 "path": "packages/template/dist/index.js",
52 "limit": "8 KB"
53 }
54 ],
55 "devDependencies": {
56 "@changesets/changelog-github": "^1.0.1",
57 "@changesets/cli": "^3.0.3",
58 "@faker-js/faker": "^10.6.0",
59 "@size-limit/preset-small-lib": "^14.0.0",
60 "@tanstack/eslint-config": "0.4.0",
61 "@tanstack/typedoc-config": "0.3.4",
62 "@testing-library/jest-dom": "^7.0.1",
63 "@types/node": "^26.6.2",
64 "eslint": "^10.11.0",
65 "eslint-plugin-unused-imports": "^4.4.1",
66 "happy-dom": "^20.14.5",
67 "knip": "^6.38.0",
68 "markdown-link-extractor": "^4.0.4",
69 "nx": "^23.2.1",
70 "pkg-pr-new": "^0.0.88",
71 "premove": "^4.0.0",
72 "prettier": "^3.9.9",
73 "prettier-plugin-svelte": "^4.1.1",
74 "publint": "^0.3.24",
75 "sherif": "^1.13.0",
76 "size-limit": "^14.0.0",
77 "tinyglobby": "^0.2.17",
78 "tsdown": "^0.23.0",
79 "typescript": "6.0.3",
80 "vitest": "^5.0.1"
81 },
82 "overrides": {
83 "@tanstack/template": "workspace:*",
84 "@tanstack/template-devtools": "workspace:*",
85 "@tanstack/react-template": "workspace:*",
86 "@tanstack/react-template-devtools": "workspace:*",
87 "@tanstack/solid-template": "workspace:*",
88 "@tanstack/solid-template-devtools": "workspace:*"
89 },
90 "engines": {
91 "node": "^24.21.0 || >=26.0.0",
92 "pnpm": ">=12.6.0"
93 },
94 "volta": {
95 "node": "24.21.0"
96 }
97}