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

package.json

103 lines4.1 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:react:17": "pnpm --filter \"./packages/react-*\" run test:lib",
11 "test:eslint": "pnpm --filter \"./packages/**\" run test:eslint",
12 "test:format": "pnpm run prettier --check",
13 "test:lib": "pnpm --filter \"./packages/**\" run test:lib",
14 "test:lib:dev": "pnpm --filter \"./packages/**\" run test:lib:dev",
15 "test:build": "pnpm run build && bundlewatch && pnpm run validatePackages",
16 "test:types": "pnpm --filter \"./packages/**\" run test:types",
17 "build": "rollup --config rollup.config.js && pnpm --filter \"./packages/**\" run build && pnpm run build:types",
18 "build:types": "pnpm --filter \"./packages/**\" run build:types",
19 "watch": "concurrently --kill-others \"rollup --config rollup.config.js -w\" \"pnpm run build:types --watch\"",
20 "dev": "pnpm run watch",
21 "prettier": "prettier --plugin-search-dir . \"{packages,examples}/**/src/**/*.{md,js,jsx,ts,tsx,json,vue,svelte}\"",
22 "prettier:write": "pnpm run prettier --write",
23 "cipublish": "ts-node scripts/publish.ts",
24 "validatePackages": "ts-node scripts/validate-packages.ts"
25 },
26 "namespace": "@tanstack",
27 "devDependencies": {
28 "@babel/core": "^7.17.9",
29 "@babel/preset-env": "^7.16.11",
30 "@babel/preset-react": "^7.16.7",
31 "@babel/preset-typescript": "^7.16.7",
32 "@commitlint/parse": "^16.2.1",
33 "@faker-js/faker": "^6.3.1",
34 "@rollup/plugin-babel": "^5.3.1",
35 "@rollup/plugin-commonjs": "22.0.1",
36 "@rollup/plugin-node-resolve": "^13.2.1",
37 "@rollup/plugin-replace": "^4.0.0",
38 "@testing-library/jest-dom": "^5.16.4",
39 "@testing-library/react": "^13.0.0",
40 "@testing-library/react-17": "npm:@testing-library/react@12.1.4",
41 "@testing-library/react-hooks": "^7.0.2",
42 "@types/jest": "^26.0.4",
43 "@types/luxon": "^2.3.1",
44 "@types/node": "^17.0.25",
45 "@types/react": "^18.0.14",
46 "@types/react-dom": "^18.0.5",
47 "@types/testing-library__jest-dom": "^5.14.5",
48 "@typescript-eslint/eslint-plugin": "^5.41.0",
49 "@typescript-eslint/parser": "^5.41.0",
50 "axios": "^0.26.1",
51 "babel-eslint": "^10.1.0",
52 "babel-jest": "^27.5.1",
53 "babel-plugin-transform-async-to-promises": "^0.8.18",
54 "babel-preset-solid": "^1.5.4",
55 "bundlewatch": "^0.3.2",
56 "concurrently": "^7.1.0",
57 "current-git-branch": "^1.1.0",
58 "eslint": "7.x",
59 "eslint-config-prettier": "^6.11.0",
60 "eslint-config-react-app": "^5.2.1",
61 "eslint-config-standard": "^14.1.1",
62 "eslint-config-standard-react": "^9.2.0",
63 "eslint-import-resolver-typescript": "^2.7.1",
64 "eslint-plugin-flowtype": "5.x",
65 "eslint-plugin-import": "^2.22.1",
66 "eslint-plugin-jsx-a11y": "6.x",
67 "eslint-plugin-node": "^11.1.0",
68 "eslint-plugin-prettier": "^3.1.3",
69 "eslint-plugin-promise": "^4.2.1",
70 "eslint-plugin-react": "7.20.0",
71 "eslint-plugin-react-hooks": "^4.3.0",
72 "eslint-plugin-standard": "^4.0.1",
73 "git-log-parser": "^1.2.0",
74 "jest": "^27.5.1",
75 "jsonfile": "^6.1.0",
76 "luxon": "^2.3.2",
77 "prettier": "^2.6.2",
78 "prettier-plugin-svelte": "^2.9.0",
79 "react": "^18.2.0",
80 "react-17": "npm:react@^17.0.2",
81 "react-dom": "^18.2.0",
82 "react-dom-17": "npm:react-dom@^17.0.2",
83 "rimraf": "^3.0.2",
84 "rollup": "^2.70.2",
85 "rollup-plugin-size": "^0.2.2",
86 "rollup-plugin-terser": "^7.0.2",
87 "rollup-plugin-visualizer": "^5.6.0",
88 "solid-js": "^1.5.7",
89 "solid-testing-library": "^0.3.0",
90 "stream-to-array": "^2.3.0",
91 "ts-jest": "^27.1.1",
92 "ts-node": "^10.7.0",
93 "typescript": "^4.7.4",
94 "vue": "^3.2.33"
95 },
96 "bundlewatch": {
97 "files": [
98 {
99 "path": "packages/*/build/umd/*.production.js"
100 }
101 ]
102 }