-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 4.08 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 4.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "table",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/TanStack/table.git"
},
"packageManager": "pnpm@10.28.2",
"type": "module",
"scripts": {
"build": "nx run-many --targets=build -p @tanstack/table-core @tanstack/react-table @tanstack/table-devtools @tanstack/react-table-devtools @tanstack/preact-table @tanstack/angular-table && size-limit",
"build:all": "nx run-many --targets=build -p @tanstack/table-core @tanstack/react-table @tanstack/table-devtools @tanstack/react-table-devtools @tanstack/preact-table @tanstack/angular-table && size-limit",
"build:core": "nx build @tanstack/table-core && size-limit",
"cipublish": "node scripts/publish.js",
"clean": "find . -name 'dist' -type d -prune -exec rm -rf {} +",
"clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
"dev": "pnpm run watch",
"generate-docs": "node scripts/generateDocs.js",
"format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
"lint:fix:all": "pnpm run format && nx run-many --targets=lint --fix --exclude=packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}",
"lint:fix": "nx affected --target=lint:fix --exclude=examples/**,packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}",
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
"size": "size-limit",
"test": "pnpm run test:ci",
"test:build": "nx affected --target=test:build --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
"test:ci": "nx run-many --targets=test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build -p @tanstack/table-core @tanstack/react-table @tanstack/table-devtools @tanstack/react-table-devtools @tanstack/preact-table @tanstack/angular-table 'examples/react/**' 'examples/preact/**' 'examples/angular/**'",
"test:docs": "node scripts/verify-links.ts",
"test:eslint": "nx affected --target=test:eslint --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
"test:knip": "NODE_OPTIONS='--max-old-space-size=4096' knip",
"test:lib": "nx affected --targets=test:lib --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
"test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
"test:pr": "nx affected --targets=test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
"test:sherif": "sherif",
"test:types": "nx affected --targets=test:types --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'",
"watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
},
"nx": {
"includedScripts": [
"test:docs",
"test:knip",
"test:sherif"
]
},
"size-limit": [
{
"path": "packages/table-core/dist/esm/index.js",
"limit": "20 KB"
}
],
"devDependencies": {
"@faker-js/faker": "^10.2.0",
"@size-limit/preset-small-lib": "^12.0.0",
"@tanstack/eslint-config": "0.3.4",
"@tanstack/publish-config": "0.2.2",
"@tanstack/typedoc-config": "0.3.3",
"@tanstack/vite-config": "0.4.3",
"@testing-library/jest-dom": "^6.9.1",
"@types/node": "^25.0.10",
"eslint": "^9.39.2",
"jsdom": "^27.4.0",
"knip": "^5.82.1",
"markdown-link-extractor": "^4.0.3",
"nx": "^22.4.2",
"prettier": "^3.8.1",
"prettier-plugin-svelte": "^3.4.1",
"publint": "^0.3.17",
"rimraf": "^6.1.2",
"sherif": "^1.10.0",
"size-limit": "^12.0.0",
"tinyglobby": "^0.2.15",
"typescript": "5.9.3",
"vite": "^7.3.1",
"vitest": "^4.0.18"
}
}