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

package.json

102 lines4.0 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": "pnpm run test:format && pnpm run test:eslint && pnpm run test:lib && pnpm run test:types",
10 "test:eslint": "pnpm --filter \"./packages/**\" run test:eslint",
11 "test:format": "pnpm run prettier --check",
12 "test:lib": "pnpm --filter \"./packages/**\" run test:lib",
13 "test:lib:dev": "pnpm --filter \"./packages/**\" run test:lib:dev",
14 "test:build": "pnpm run build && bundlewatch && pnpm run validatePackages",
15 "test:types": "pnpm --filter \"./packages/**\" run test:types",
16 "build": "rollup --config rollup.config.js && pnpm --filter \"./packages/**\" run build && pnpm run build:types",
17 "build:types": "pnpm --filter \"./packages/**\" run build:types",
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 "namespace": "@tanstack",
26 "devDependencies": {
27 "@babel/core": "^7.20.12",
28 "@babel/preset-env": "^7.20.2",
29 "@babel/preset-react": "^7.18.6",
30 "@babel/preset-typescript": "^7.18.6",
31 "@commitlint/parse": "^17.4.2",
32 "@faker-js/faker": "^7.6.0",
33 "@rollup/plugin-babel": "^6.0.3",
34 "@rollup/plugin-commonjs": "24.0.1",
35 "@rollup/plugin-node-resolve": "^15.0.1",
36 "@rollup/plugin-replace": "^5.0.2",
37 "@testing-library/jest-dom": "^5.16.5",
38 "@testing-library/react": "^13.4.0",
39 "@testing-library/react-hooks": "^8.0.1",
40 "@types/jest": "^29.4.0",
41 "@types/luxon": "^3.2.0",
42 "@types/node": "^18.13.0",
43 "@types/react": "^18.0.27",
44 "@types/react-dom": "^18.0.10",
45 "@types/testing-library__jest-dom": "^5.14.5",
46 "@typescript-eslint/eslint-plugin": "^5.51.0",
47 "@typescript-eslint/parser": "^5.51.0",
48 "axios": "^1.3.2",
49 "babel-eslint": "^10.1.0",
50 "babel-jest": "^29.4.2",
51 "babel-plugin-transform-async-to-promises": "^0.8.18",
52 "babel-preset-solid": "^1.6.10",
53 "bundlewatch": "^0.3.3",
54 "concurrently": "^7.6.0",
55 "current-git-branch": "^1.1.0",
56 "eslint": "8.34.0",
57 "eslint-config-prettier": "^8.6.0",
58 "eslint-config-react-app": "^7.0.1",
59 "eslint-config-standard": "^17.0.0",
60 "eslint-config-standard-react": "^13.0.0",
61 "eslint-import-resolver-typescript": "^3.5.3",
62 "eslint-plugin-flowtype": "8.0.3",
63 "eslint-plugin-import": "^2.27.5",
64 "eslint-plugin-jsx-a11y": "^6.7.1",
65 "eslint-plugin-node": "^11.1.0",
66 "eslint-plugin-prettier": "^4.2.1",
67 "eslint-plugin-promise": "^6.1.1",
68 "eslint-plugin-react": "7.32.2",
69 "eslint-plugin-react-hooks": "^4.6.0",
70 "eslint-plugin-standard": "^5.0.0",
71 "git-log-parser": "^1.2.0",
72 "jest": "^29.4.2",
73 "jest-environment-jsdom": "^29.4.2",
74 "jest-fail-on-console": "^3.0.2",
75 "jsonfile": "^6.1.0",
76 "luxon": "^3.2.1",
77 "prettier": "^2.8.4",
78 "prettier-plugin-svelte": "^2.9.0",
79 "react": "^18.2.0",
80 "react-dom": "^18.2.0",
81 "rimraf": "^4.1.2",
82 "rollup": "^3.15.0",
83 "rollup-plugin-size": "^0.2.2",
84 "rollup-plugin-terser": "^7.0.2",
85 "rollup-plugin-visualizer": "^5.9.0",
86 "rollup-preset-solid": "^1.4.0",
87 "solid-js": "^1.5.7",
88 "solid-testing-library": "^0.3.0",
89 "stream-to-array": "^2.3.0",
90 "ts-jest": "^29.0.5",
91 "ts-node": "^10.9.1",
92 "typescript": "4.7.4",
93 "vue": "^3.2.47"
94 },
95 "bundlewatch": {
96 "files": [
97 {
98 "path": "packages/*/build/umd/*.production.js"
99 }
100 ]
101 }