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

package.json

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