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

package.json

91 lines3.4 KB

1{
2 "name": "query",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "https://github.com/TanStack/query.git"
7 },
8 "packageManager": "pnpm@8.15.1",
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 "prepare": "husky",
14 "install:csb": "corepack enable && pnpm install --frozen-lockfile",
15 "test": "pnpm run test:ci",
16 "test:pr": "nx affected --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build,test:attw",
17 "test:ci": "nx run-many --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build,test:attw",
18 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
19 "test:format": "pnpm run prettier --check",
20 "test:sherif": "sherif -i react-scripts",
21 "test:lib": "nx affected --target=test:lib --exclude=examples/**",
22 "test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib",
23 "test:build": "nx affected --target=test:build --exclude=examples/**",
24 "test:attw": "nx affected --target=test:attw --exclude=examples/**",
25 "test:types": "nx affected --target=test:types --exclude=examples/**",
26 "test:knip": "knip",
27 "build": "nx affected --target=build --exclude=examples/**",
28 "build:all": "nx run-many --target=build --exclude=examples/**",
29 "build:csb": "nx run-many --target=build --exclude=examples/** --exclude=integrations/**",
30 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
31 "dev": "pnpm run watch",
32 "prettier": "prettier --ignore-unknown '**/*'",
33 "prettier:write": "pnpm run prettier --write",
34 "cipublish": "node scripts/publish.js"
35 },
36 "nx": {
37 "includedScripts": [
38 "test:format",
39 "test:sherif",
40 "test:knip"
41 ]
42 },
43 "namespace": "@tanstack",
44 "devDependencies": {
45 "@arethetypeswrong/cli": "^0.15.1",
46 "@cspell/eslint-plugin": "^8.3.2",
47 "@solidjs/testing-library": "^0.8.6",
48 "@tanstack/config": "^0.4.4",
49 "@testing-library/jest-dom": "^6.4.2",
50 "@testing-library/react": "^14.2.1",
51 "@types/eslint": "^8.56.2",
52 "@types/node": "^18.19.3",
53 "@types/react": "^18.2.55",
54 "@types/react-dom": "^18.2.19",
55 "@typescript-eslint/eslint-plugin": "^6.20.0",
56 "@typescript-eslint/parser": "^6.20.0",
57 "@vitest/coverage-istanbul": "^1.3.1",
58 "cpy-cli": "^5.0.0",
59 "esbuild-plugin-file-path-extensions": "^2.0.0",
60 "eslint": "^8.56.0",
61 "eslint-config-prettier": "^9.1.0",
62 "eslint-import-resolver-typescript": "^3.6.1",
63 "eslint-plugin-import": "^2.29.1",
64 "eslint-plugin-react": "^7.33.2",
65 "eslint-plugin-react-hooks": "^4.6.0",
66 "husky": "^9.0.11",
67 "jsdom": "^24.0.0",
68 "knip": "^4.6.0",
69 "lint-staged": "^15.2.2",
70 "nx": "17.3.1",
71 "prettier": "^4.0.0-alpha.8",
72 "prettier-plugin-svelte": "^3.1.2",
73 "publint": "^0.2.7",
74 "react": "^18.2.0",
75 "react-dom": "^18.2.0",
76 "rimraf": "^5.0.5",
77 "sherif": "^0.7.0",
78 "solid-js": "^1.8.14",
79 "tsup": "^8.0.1",
80 "typescript": "5.2.2",
81 "vite": "^5.2.8",
82 "vitest": "^1.4.0"
83 },
84 "pnpm": {
85 "overrides": {
86 "@typescript-eslint/eslint-plugin": "$@typescript-eslint/eslint-plugin",
87 "@typescript-eslint/parser": "$@typescript-eslint/parser",
88 "eslint": "$eslint"
89 }
90 }