package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "@tanstack/query-core",
  3. "version": "4.36.1",
  4. "description": "The framework agnostic core that powers TanStack Query",
  5. "author": "tannerlinsley",
  6. "license": "MIT",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/TanStack/query.git",
  10. "directory": "packages/query-core"
  11. },
  12. "homepage": "https://tanstack.com/query",
  13. "funding": {
  14. "type": "github",
  15. "url": "https://github.com/sponsors/tannerlinsley"
  16. },
  17. "types": "build/lib/index.d.ts",
  18. "main": "build/lib/index.js",
  19. "module": "build/lib/index.esm.js",
  20. "exports": {
  21. ".": {
  22. "types": "./build/lib/index.d.ts",
  23. "import": "./build/lib/index.mjs",
  24. "default": "./build/lib/index.js"
  25. },
  26. "./package.json": "./package.json"
  27. },
  28. "sideEffects": false,
  29. "files": [
  30. "build/lib/*",
  31. "build/umd/*",
  32. "src"
  33. ],
  34. "scripts": {
  35. "clean": "rimraf ./build",
  36. "test:eslint": "eslint --ext .ts,.tsx ./src",
  37. "test:types": "tsc",
  38. "test:lib": "jest --config ./jest.config.ts",
  39. "test:lib:dev": "pnpm run test:lib --watch",
  40. "build:types": "tsc --build"
  41. }
  42. }