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

package.json

108 lines4.1 KB

1{
2 "name": "query",
3 "repository": {
4 "type": "git",
5 "url": "https://github.com/TanStack/query.git"
6 },
7 "packageManager": "pnpm@10.24.0",
8 "scripts": {
9 "clean": "pnpm --filter \"./packages/**\" run clean",
10 "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
11 "install:csb": "corepack enable && pnpm install --frozen-lockfile",
12 "test": "pnpm run test:ci",
13 "test:pr": "nx affected --targets=test:lib,test:types,test:eslint,build,test:build --exclude=examples/**",
14 "test:ci": "nx run-many --targets=test:lib,test:types,test:eslint,build,test:build --exclude=examples/**",
15 "test:react:17": "nx affected --target=test:lib",
16 "test:eslint": "nx affected --target=test:eslint",
17 "test:format": "pnpm run prettier --check",
18 "test:lib": "nx affected --target=test:lib",
19 "test:lib:dev": "pnpm --filter \"./packages/**\" run test:lib:dev",
20 "test:build": "nx run-many --target=test:build --projects=root",
21 "test:types": "nx affected --target=test:types",
22 "build": "nx run-many --target=build --projects=root",
23 "build:types": "nx affected --target=build:types",
24 "watch": "concurrently --kill-others \"rollup --config rollup.config.js -w\" \"pnpm run build:types --watch\"",
25 "dev": "pnpm run watch",
26 "prettier": "prettier --plugin-search-dir . \"{packages,examples,scripts}/**/*.{md,js,jsx,cjs,ts,tsx,json,vue,svelte}\"",
27 "prettier:write": "pnpm run prettier --write",
28 "changeset": "pnpx @changesets/cli",
29 "changeset:version": "pnpx @changesets/cli version && pnpm install --no-frozen-lockfile",
30 "changeset:publish": "pnpx @changesets/cli publish --tag=previous"
31 },
32 "nx": {
33 "includedScripts": [
34 "test:format",
35 "test:build"
36 ]
37 },
38 "namespace": "@tanstack",
39 "devDependencies": {
40 "@babel/core": "^7.17.9",
41 "@babel/preset-env": "^7.16.11",
42 "@babel/preset-react": "^7.16.7",
43 "@babel/preset-typescript": "^7.16.7",
44 "@faker-js/faker": "^6.3.1",
45 "@rollup/plugin-babel": "^5.3.1",
46 "@rollup/plugin-commonjs": "22.0.1",
47 "@rollup/plugin-node-resolve": "^13.2.1",
48 "@rollup/plugin-replace": "^4.0.0",
49 "@tanstack/publish-config": "^0.1.1",
50 "@testing-library/jest-dom": "^5.16.4",
51 "@testing-library/react": "^16.3.0",
52 "@testing-library/react-17": "npm:@testing-library/react@12.1.4",
53 "@testing-library/react-18": "npm:@testing-library/react@13.0.0",
54 "@testing-library/react-hooks": "^7.0.2",
55 "@testing-library/user-event": "14.4.3",
56 "@types/jest": "^26.0.4",
57 "@types/node": "^22.15.3",
58 "@types/react": "^19.1.9",
59 "@types/react-dom": "^19.1.7",
60 "@types/testing-library__jest-dom": "^5.14.5",
61 "@typescript-eslint/eslint-plugin": "^5.41.0",
62 "@typescript-eslint/parser": "^5.41.0",
63 "axios": "^0.26.1",
64 "babel-eslint": "^10.1.0",
65 "babel-jest": "^27.5.1",
66 "babel-plugin-transform-async-to-promises": "^0.8.18",
67 "babel-preset-solid": "^1.5.4",
68 "bundlewatch": "^0.3.2",
69 "concurrently": "^7.1.0",
70 "eslint": "^8.34.0",
71 "eslint-config-prettier": "^8.8.0",
72 "eslint-import-resolver-typescript": "^3.5.5",
73 "eslint-plugin-compat": "^4.1.4",
74 "eslint-plugin-import": "^2.27.5",
75 "eslint-plugin-react": "^7.32.2",
76 "eslint-plugin-react-hooks": "^4.6.0",
77 "expect-type": "^1.2.1",
78 "jest": "^27.5.1",
79 "nx": "22.3.3",
80 "prettier": "^2.6.2",
81 "prettier-plugin-svelte": "^2.9.0",
82 "react": "^19.1.1",
83 "react-18": "npm:react@^18.2.0",
84 "react-17": "npm:react@^17.0.2",
85 "react-dom": "^19.1.1",
86 "react-dom-17": "npm:react-dom@^17.0.2",
87 "react-dom-18": "npm:react-dom@^18.2.0",
88 "rimraf": "^3.0.2",
89 "rollup": "^2.70.2",
90 "rollup-plugin-preserve-directives": "0.1.0",
91 "rollup-plugin-size": "^0.2.2",
92 "rollup-plugin-terser": "^7.0.2",
93 "rollup-plugin-visualizer": "^5.6.0",
94 "solid-js": "^1.5.7",
95 "solid-testing-library": "^0.3.0",
96 "ts-jest": "^27.1.1",
97 "ts-node": "^10.7.0",
98 "typescript": "^4.7.4",
99 "vue": "^3.2.33"
100 },
101 "bundlewatch": {
102 "files": [
103 {
104 "path": "packages/*/build/umd/*.production.js"
105 }
106 ]
107 }