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

package.json

63 lines2.4 KB

1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "https://github.com/TanStack/virtual.git"
7 },
8 "packageManager": "pnpm@10.11.0",
9 "type": "module",
10 "scripts": {
11 "clean": "pnpm --filter \"./packages/**\" run clean",
12 "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
13 "test": "pnpm run test:ci",
14 "test:pr": "nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
15 "test:ci": "nx run-many --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
16 "test:eslint": "nx affected --target=test:eslint",
17 "test:format": "pnpm run prettier --check",
18 "test:sherif": "sherif",
19 "test:lib": "nx affected --target=test:lib --exclude=examples/**",
20 "test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib",
21 "test:build": "nx affected --target=test:build --exclude=examples/**",
22 "test:types": "nx affected --target=test:types --exclude=examples/**",
23 "test:knip": "knip",
24 "build": "nx affected --target=build --exclude=examples/**",
25 "build:all": "nx run-many --target=build --exclude=examples/**",
26 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
27 "dev": "pnpm run watch",
28 "prettier": "prettier --ignore-unknown '**/*'",
29 "prettier:write": "pnpm run prettier --write",
30 "changeset": "changeset",
31 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm prettier:write",
32 "changeset:publish": "changeset publish",
33 "verify-links": "node scripts/verify-links.ts",
34 "verify-examples": "node scripts/verify-examples.ts"
35 },
36 "nx": {
37 "includedScripts": [
38 "test:knip",
39 "test:sherif"
40 ]
41 },
42 "devDependencies": {
43 "@changesets/cli": "^2.29.4",
44 "@svitejs/changesets-changelog-github-compact": "^1.2.0",
45 "@tanstack/config": "^0.18.0",
46 "@testing-library/jest-dom": "^6.6.3",
47 "@types/node": "^22.13.6",
48 "eslint": "^9.27.0",
49 "fast-glob": "^3.3.3",
50 "jsdom": "^25.0.1",
51 "knip": "^5.56.0",
52 "markdown-link-extractor": "^4.0.2",
53 "nx": "^20.8.2",
54 "premove": "^4.0.0",
55 "prettier": "^3.5.3",
56 "prettier-plugin-svelte": "^3.4.0",
57 "publint": "^0.3.12",
58 "sherif": "^1.5.0",
59 "typescript": "5.2.2",
60 "vite": "^5.4.19",
61 "vitest": "^2.1.9"
62 }