package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "groq",
  3. "version": "3.30.0",
  4. "description": "Tagged template literal for Sanity.io GROQ-queries",
  5. "keywords": [
  6. "sanity",
  7. "cms",
  8. "headless",
  9. "realtime",
  10. "content",
  11. "groq",
  12. "tagged",
  13. "template",
  14. "literal",
  15. "string"
  16. ],
  17. "homepage": "https://www.sanity.io/",
  18. "bugs": {
  19. "url": "https://github.com/sanity-io/sanity/issues"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "git+https://github.com/sanity-io/sanity.git",
  24. "directory": "packages/groq"
  25. },
  26. "license": "MIT",
  27. "author": "Sanity.io <hello@sanity.io>",
  28. "exports": {
  29. ".": {
  30. "types": "./lib/dts/src/groq.d.ts",
  31. "source": "./src/groq.ts",
  32. "require": "./lib/groq.js",
  33. "node": {
  34. "module": "./lib/groq.esm.js",
  35. "import": "./lib/groq.cjs.mjs"
  36. },
  37. "import": "./lib/groq.esm.js",
  38. "default": "./lib/groq.esm.js"
  39. },
  40. "./package.json": "./package.json"
  41. },
  42. "main": "./lib/groq.js",
  43. "module": "./lib/groq.esm.js",
  44. "source": "./src/groq.ts",
  45. "types": "./lib/dts/src/groq.d.ts",
  46. "files": [
  47. "lib",
  48. "node",
  49. "src"
  50. ],
  51. "scripts": {
  52. "prebuild": "run-s clean",
  53. "build": "pkg-utils build --tsconfig tsconfig.lib.json",
  54. "postbuild": "run-s check:package",
  55. "check:package": "pkg-utils --strict --tsconfig tsconfig.lib.json",
  56. "clean": "rimraf lib",
  57. "lint": "eslint .",
  58. "pretest": "run-s build",
  59. "test": "node test/groq.test.cjs && node test/groq.test.mjs ",
  60. "watch": "pkg-utils watch --tsconfig tsconfig.lib.json"
  61. },
  62. "engines": {
  63. "node": ">=18"
  64. },
  65. "gitHead": "c29014a64236b29cc4fbcf5e2c57ca66083bdc43"
  66. }