package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. {
  2. "author": {
  3. "name": "Jeremy Stashewsky",
  4. "email": "jstash@gmail.com",
  5. "website": "https://github.com/stash"
  6. },
  7. "contributors": [
  8. {
  9. "name": "Ivan Nikulin",
  10. "website": "https://github.com/inikulin"
  11. },
  12. {
  13. "name": "Shivan Kaul Sahib",
  14. "website": "https://github.com/ShivanKaul"
  15. },
  16. {
  17. "name": "Clint Ruoho",
  18. "website": "https://github.com/ruoho"
  19. },
  20. {
  21. "name": "Ian Livingstone",
  22. "website": "https://github.com/ianlivingstone"
  23. },
  24. {
  25. "name": "Andrew Waterman",
  26. "website": "https://github.com/awaterma"
  27. },
  28. {
  29. "name": "Michael de Libero ",
  30. "website": "https://github.com/medelibero-sfdc"
  31. },
  32. {
  33. "name": "Jonathan Stewmon",
  34. "website": "https://github.com/jstewmon"
  35. },
  36. {
  37. "name": "Miguel Roncancio",
  38. "website": "https://github.com/miggs125"
  39. },
  40. {
  41. "name": "Sebastian Mayr",
  42. "website": "https://github.com/Sebmaster"
  43. },
  44. {
  45. "name": "Alexander Savin",
  46. "website": "https://github.com/apsavin"
  47. },
  48. {
  49. "name": "Lalit Kapoor",
  50. "website": "https://github.com/lalitkapoor"
  51. },
  52. {
  53. "name": "Sam Thompson",
  54. "website": "https://github.com/sambthompson"
  55. },
  56. {
  57. "name": "Colin Casey",
  58. "website": "https://github.com/colincasey"
  59. },
  60. {
  61. "name": "Will Harney",
  62. "website": "https://github.com/wjhsf"
  63. }
  64. ],
  65. "license": "BSD-3-Clause",
  66. "name": "tough-cookie",
  67. "description": "RFC6265 Cookies and Cookie Jar for node.js",
  68. "keywords": [
  69. "HTTP",
  70. "cookie",
  71. "cookies",
  72. "set-cookie",
  73. "cookiejar",
  74. "jar",
  75. "RFC6265",
  76. "RFC2965"
  77. ],
  78. "version": "6.0.0",
  79. "homepage": "https://github.com/salesforce/tough-cookie",
  80. "repository": {
  81. "type": "git",
  82. "url": "git://github.com/salesforce/tough-cookie.git"
  83. },
  84. "bugs": {
  85. "url": "https://github.com/salesforce/tough-cookie/issues"
  86. },
  87. "type": "module",
  88. "main": "./dist/index.cjs",
  89. "module": "./dist/index.js",
  90. "types": "./dist/index.d.ts",
  91. "exports": {
  92. "import": {
  93. "types": "./dist/index.d.ts",
  94. "import": "./dist/index.js"
  95. },
  96. "require": {
  97. "types": "./dist/index.d.cts",
  98. "require": "./dist/index.cjs"
  99. }
  100. },
  101. "files": [
  102. "dist"
  103. ],
  104. "scripts": {
  105. "build": "tsup lib/cookie/index.ts --format cjs,esm --dts --clean --sourcemap",
  106. "lint": "npm run _lint:check",
  107. "prepack": "npm run build",
  108. "prepare-pr": "npm run build && npm test -- run && npm run _api:update && npm run _docs:generate && npm run _format:fix && npm run _lint:fix && npm run _lint:types",
  109. "test": "vitest",
  110. "version": "npm run _version:generate && npm run prepare-pr && git add --renormalize .",
  111. "_api:check": "api-extractor run --verbose",
  112. "_api:update": "api-extractor run --verbose --local",
  113. "_docs:generate": "api-documenter markdown --input-folder ./tmp --output-folder ./api/docs",
  114. "_docs:fix": "prettier ./api/docs --write",
  115. "_format:check": "prettier . --check",
  116. "_format:fix": "prettier . --write",
  117. "_lint:check": "eslint .",
  118. "_lint:fix": "eslint . --fix",
  119. "_lint:types": "attw --pack .",
  120. "_version:generate": "genversion --template version-template.ejs --force lib/version.ts"
  121. },
  122. "//": "We only support node LTS versions, but v16 still works. We won't block v16 until it becomes a burden.",
  123. "engines": {
  124. "node": ">=16"
  125. },
  126. "devDependencies": {
  127. "@arethetypeswrong/cli": "^0.18.2",
  128. "@eslint/js": "^9.24.0",
  129. "@microsoft/api-documenter": "^7.26.20",
  130. "@microsoft/api-extractor": "^7.52.3",
  131. "@types/node": "^20.19.6",
  132. "@vitest/eslint-plugin": "^1.1.40",
  133. "eslint": "^9.24.0",
  134. "eslint-config-prettier": "^10.1.2",
  135. "eslint-import-resolver-typescript": "^4.3.2",
  136. "eslint-plugin-import": "^2.31.0",
  137. "eslint-plugin-prettier": "^5.2.6",
  138. "genversion": "^3.2.0",
  139. "globals": "^16.0.0",
  140. "prettier": "^3.5.3",
  141. "tsup": "^8.5.0",
  142. "typescript": "5.5.3",
  143. "typescript-eslint": "^8.29.1",
  144. "vitest": "^3.1.1"
  145. },
  146. "dependencies": {
  147. "tldts": "^7.0.5"
  148. }
  149. }