package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "side-channel",
  3. "version": "1.0.5",
  4. "description": "Store information about any JS value in a side channel. Uses WeakMap if available.",
  5. "main": "index.js",
  6. "exports": {
  7. "./package.json": "./package.json",
  8. ".": [
  9. {
  10. "default": "./index.js"
  11. },
  12. "./index.js"
  13. ]
  14. },
  15. "scripts": {
  16. "prepack": "npmignore --auto --commentLines=autogenerated",
  17. "prepublishOnly": "safe-publish-latest",
  18. "prepublish": "not-in-publish || npm run prepublishOnly",
  19. "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
  20. "lint": "eslint --ext=js,mjs .",
  21. "pretest": "npm run lint",
  22. "tests-only": "nyc tape 'test/**/*.js'",
  23. "test": "npm run tests-only",
  24. "posttest": "aud --production",
  25. "version": "auto-changelog && git add CHANGELOG.md",
  26. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  27. },
  28. "repository": {
  29. "type": "git",
  30. "url": "git+https://github.com/ljharb/side-channel.git"
  31. },
  32. "keywords": [
  33. "weakmap",
  34. "map",
  35. "side",
  36. "channel",
  37. "metadata"
  38. ],
  39. "author": "Jordan Harband <ljharb@gmail.com>",
  40. "funding": {
  41. "url": "https://github.com/sponsors/ljharb"
  42. },
  43. "license": "MIT",
  44. "bugs": {
  45. "url": "https://github.com/ljharb/side-channel/issues"
  46. },
  47. "homepage": "https://github.com/ljharb/side-channel#readme",
  48. "devDependencies": {
  49. "@ljharb/eslint-config": "^21.1.0",
  50. "aud": "^2.0.4",
  51. "auto-changelog": "^2.4.0",
  52. "eclint": "^2.8.1",
  53. "eslint": "=8.8.0",
  54. "in-publish": "^2.0.1",
  55. "npmignore": "^0.3.1",
  56. "nyc": "^10.3.2",
  57. "safe-publish-latest": "^2.0.0",
  58. "tape": "^5.7.4"
  59. },
  60. "dependencies": {
  61. "call-bind": "^1.0.6",
  62. "es-errors": "^1.3.0",
  63. "get-intrinsic": "^1.2.4",
  64. "object-inspect": "^1.13.1"
  65. },
  66. "auto-changelog": {
  67. "output": "CHANGELOG.md",
  68. "template": "keepachangelog",
  69. "unreleased": false,
  70. "commitLimit": false,
  71. "backfillLimit": false,
  72. "hideCredit": true
  73. },
  74. "publishConfig": {
  75. "ignore": [
  76. ".github/workflows"
  77. ]
  78. },
  79. "engines": {
  80. "node": ">= 0.4"
  81. }
  82. }