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

package.json

104 lines3.8 KB

1{
2 "name": "query",
3 "repository": {
4 "type": "git",
5 "url": "https://github.com/TanStack/query.git"
6 },
7 "packageManager": "pnpm@8.5.1",
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 "cipublish": "node scripts/publish.mjs"
29 },
30 "nx": {
31 "includedScripts": [
32 "test:format",
33 "test:build"
34 ]
35 },
36 "namespace": "@tanstack",
37 "devDependencies": {
38 "@babel/core": "^7.17.9",
39 "@babel/preset-env": "^7.16.11",
40 "@babel/preset-react": "^7.16.7",
41 "@babel/preset-typescript": "^7.16.7",
42 "@faker-js/faker": "^6.3.1",
43 "@rollup/plugin-babel": "^5.3.1",
44 "@rollup/plugin-commonjs": "22.0.1",
45 "@rollup/plugin-node-resolve": "^13.2.1",
46 "@rollup/plugin-replace": "^4.0.0",
47 "@tanstack/publish-config": "^0.1.1",
48 "@testing-library/jest-dom": "^5.16.4",
49 "@testing-library/react": "^13.0.0",
50 "@testing-library/react-17": "npm:@testing-library/react@12.1.4",
51 "@testing-library/react-hooks": "^7.0.2",
52 "@testing-library/user-event": "14.4.3",
53 "@types/jest": "^26.0.4",
54 "@types/node": "^22.15.3",
55 "@types/react": "^18.0.14",
56 "@types/react-dom": "^18.0.5",
57 "@types/testing-library__jest-dom": "^5.14.5",
58 "@typescript-eslint/eslint-plugin": "^5.41.0",
59 "@typescript-eslint/parser": "^5.41.0",
60 "axios": "^0.26.1",
61 "babel-eslint": "^10.1.0",
62 "babel-jest": "^27.5.1",
63 "babel-plugin-transform-async-to-promises": "^0.8.18",
64 "babel-preset-solid": "^1.5.4",
65 "bundlewatch": "^0.3.2",
66 "concurrently": "^7.1.0",
67 "eslint": "^8.34.0",
68 "eslint-config-prettier": "^8.8.0",
69 "eslint-import-resolver-typescript": "^3.5.5",
70 "eslint-plugin-compat": "^4.1.4",
71 "eslint-plugin-import": "^2.27.5",
72 "eslint-plugin-react": "^7.32.2",
73 "eslint-plugin-react-hooks": "^4.6.0",
74 "expect-type": "^1.2.1",
75 "jest": "^27.5.1",
76 "nx": "16.7.4",
77 "nx-cloud": "16.3.0",
78 "prettier": "^2.6.2",
79 "prettier-plugin-svelte": "^2.9.0",
80 "react": "^18.2.0",
81 "react-17": "npm:react@^17.0.2",
82 "react-dom": "^18.2.0",
83 "react-dom-17": "npm:react-dom@^17.0.2",
84 "rimraf": "^3.0.2",
85 "rollup": "^2.70.2",
86 "rollup-plugin-preserve-directives": "0.1.0",
87 "rollup-plugin-size": "^0.2.2",
88 "rollup-plugin-terser": "^7.0.2",
89 "rollup-plugin-visualizer": "^5.6.0",
90 "solid-js": "^1.5.7",
91 "solid-testing-library": "^0.3.0",
92 "ts-jest": "^27.1.1",
93 "ts-node": "^10.7.0",
94 "typescript": "^4.7.4",
95 "vue": "^3.2.33"
96 },
97 "bundlewatch": {
98 "files": [
99 {
100 "path": "packages/*/build/umd/*.production.js"
101 }
102 ]
103 }