package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "private": true,
  3. "name": "@pythnetwork/react-hooks",
  4. "description": "collection of utility hooks used across react applications powering parts of the pyth network",
  5. "version": "0.1.0",
  6. "scripts": {
  7. "build": "ts-duality --clean --noCjs",
  8. "clean": "rm -rf ./dist",
  9. "fix:format": "prettier --write .",
  10. "fix:lint": "eslint --fix . --max-warnings 0",
  11. "test:lint": "eslint . --max-warnings 0",
  12. "test:format": "prettier --check .",
  13. "test:types": "tsc"
  14. },
  15. "devDependencies": {
  16. "@cprussin/eslint-config": "catalog:",
  17. "@pythnetwork/jest-config": "workspace:",
  18. "@cprussin/tsconfig": "catalog:",
  19. "@types/react": "catalog:",
  20. "@types/react-dom": "catalog:",
  21. "eslint": "catalog:"
  22. },
  23. "dependencies": {
  24. "nuqs": "catalog:",
  25. "react": "catalog:",
  26. "react-dom": "catalog:"
  27. },
  28. "type": "module",
  29. "exports": {
  30. "./nuqs-adapters-next": {
  31. "types": "./dist/nuqs-adapters-next.d.ts",
  32. "default": "./dist/nuqs-adapters-next.mjs"
  33. },
  34. "./nuqs-server": {
  35. "types": "./dist/nuqs-server.d.ts",
  36. "default": "./dist/nuqs-server.mjs"
  37. },
  38. "./nuqs-testing": {
  39. "types": "./dist/nuqs-testing.d.ts",
  40. "default": "./dist/nuqs-testing.mjs"
  41. },
  42. "./nuqs": {
  43. "types": "./dist/nuqs.d.ts",
  44. "default": "./dist/nuqs.mjs"
  45. },
  46. "./package.json": "./package.json"
  47. }
  48. }