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

package.json

115 lines4.2 KB

1{
2 "name": "query",
3 "repository": "https://github.com/tanstack/query.git",
4 "scripts": {
5 "clean": "pnpm --filter \"./packages/**\" run clean",
6 "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
7 "install:csb": "pnpm install --frozen-lockfile",
8 "test": "pnpm run test:ci",
9 "test:ci": "nx affected --targets=test:lib,test:types,test:eslint,test:format --parallel=5",
10 "test:eslint": "nx affected --target=test:eslint --parallel=5",
11 "test:format": "pnpm run prettier --check",
12 "test:lib": "nx affected --target=test:lib --parallel=5",
13 "test:lib:dev": "pnpm --filter \"./packages/**\" run test:lib:dev",
14 "test:build": "nx run-many --target=test:build --projects=root",
15 "test:types": "nx affected --target=test:types --parallel=5",
16 "build": "nx run-many --target=build --projects=root",
17 "build:types": "nx affected --target=build:types --parallel=5",
18 "watch": "concurrently --kill-others \"rollup --config rollup.config.js -w\" \"pnpm run build:types --watch\"",
19 "dev": "pnpm run watch",
20 "prettier": "prettier --plugin-search-dir . \"{packages,examples}/**/src/**/*.{md,js,jsx,ts,tsx,json,vue,svelte}\"",
21 "prettier:write": "pnpm run prettier --write",
22 "cipublish": "ts-node scripts/publish.ts",
23 "validatePackages": "ts-node scripts/validate-packages.ts"
24 },
25 "nx": {
26 "includedScripts": [
27 "test:format",
28 "test:build"
29 ]
30 },
31 "namespace": "@tanstack",
32 "devDependencies": {
33 "@babel/core": "^7.20.12",
34 "@babel/preset-env": "^7.20.2",
35 "@babel/preset-react": "^7.18.6",
36 "@babel/preset-typescript": "^7.18.6",
37 "@commitlint/parse": "^17.4.2",
38 "@nrwl/nx-cloud": "^15.3.1",
39 "@rollup/plugin-babel": "^6.0.3",
40 "@rollup/plugin-commonjs": "24.0.1",
41 "@rollup/plugin-node-resolve": "^15.0.1",
42 "@rollup/plugin-replace": "^5.0.2",
43 "@testing-library/jest-dom": "^5.16.5",
44 "@testing-library/react": "^13.4.0",
45 "@testing-library/react-hooks": "^8.0.1",
46 "@testing-library/user-event": "^14.4.3",
47 "@types/eslint": "^8.21.2",
48 "@types/luxon": "^3.2.0",
49 "@types/node": "^18.13.0",
50 "@types/react": "^18.0.27",
51 "@types/react-dom": "^18.0.10",
52 "@types/semver": "^7.3.13",
53 "@types/testing-library__jest-dom": "^5.14.5",
54 "@typescript-eslint/eslint-plugin": "^5.51.0",
55 "@typescript-eslint/parser": "^5.51.0",
56 "@vitest/coverage-istanbul": "^0.27.1",
57 "axios": "^1.3.2",
58 "babel-eslint": "^10.1.0",
59 "babel-preset-solid": "^1.6.10",
60 "bundlewatch": "^0.3.3",
61 "chalk": "^4.1.2",
62 "concurrently": "^7.6.0",
63 "current-git-branch": "^1.1.0",
64 "eslint": "8.34.0",
65 "eslint-config-prettier": "^8.6.0",
66 "eslint-config-react-app": "^7.0.1",
67 "eslint-config-standard": "^17.0.0",
68 "eslint-config-standard-react": "^13.0.0",
69 "eslint-import-resolver-typescript": "^3.5.3",
70 "eslint-plugin-flowtype": "8.0.3",
71 "eslint-plugin-import": "^2.27.5",
72 "eslint-plugin-jsx-a11y": "^6.7.1",
73 "eslint-plugin-node": "^11.1.0",
74 "eslint-plugin-prettier": "^4.2.1",
75 "eslint-plugin-promise": "^6.1.1",
76 "eslint-plugin-react": "7.32.2",
77 "eslint-plugin-react-hooks": "^4.6.0",
78 "eslint-plugin-standard": "^5.0.0",
79 "git-log-parser": "^1.2.0",
80 "jsonfile": "^6.1.0",
81 "luxon": "^3.2.1",
82 "nx": "^15.8.6",
83 "prettier": "^2.8.4",
84 "prettier-plugin-svelte": "^2.9.0",
85 "react": "^18.2.0",
86 "react-dom": "^18.2.0",
87 "rimraf": "^4.1.2",
88 "rollup": "^3.15.0",
89 "rollup-plugin-preserve-directives": "0.1.0",
90 "rollup-plugin-size": "^0.2.2",
91 "rollup-plugin-terser": "^7.0.2",
92 "rollup-plugin-visualizer": "^5.9.0",
93 "rollup-preset-solid": "^1.4.0",
94 "semver": "^7.3.8",
95 "solid-js": "^1.6.13",
96 "solid-testing-library": "^0.3.0",
97 "stream-to-array": "^2.3.0",
98 "ts-node": "^10.9.1",
99 "typescript": "4.7.4",
100 "vitest": "^0.27.1",
101 "vue": "^3.2.47"
102 },
103 "bundlewatch": {
104 "files": [
105 {
106 "path": "packages/*/build/umd/*.production.js"
107 }
108 ]
109 },
110 "pnpm": {
111 "patchedDependencies": {
112 "@types/testing-library__jest-dom@5.14.5": "patches/@types__testing-library__jest-dom@5.14.5.patch"
113 }
114 }