package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "defined",
  3. "version": "1.0.1",
  4. "description": "return the first argument that is `!== undefined`",
  5. "main": "index.js",
  6. "directories": {
  7. "example": "example",
  8. "test": "test"
  9. },
  10. "devDependencies": {
  11. "@ljharb/eslint-config": "^21.0.0",
  12. "aud": "^2.0.1",
  13. "auto-changelog": "^2.4.0",
  14. "eslint": "=8.8.0",
  15. "in-publish": "^2.0.1",
  16. "npmignore": "^0.3.0",
  17. "safe-publish-latest": "^2.0.0",
  18. "tape": "^5.6.1"
  19. },
  20. "scripts": {
  21. "prepack": "npmignore --auto --commentLines=autogenerated",
  22. "prepublish": "not-in-publish || npm run prepublishOnly",
  23. "prepublishOnly": "safe-publish-latest",
  24. "lint": "eslint --ext=js,mjs .",
  25. "pretest": "npm run lint",
  26. "tests-only": "tape 'test/**/*.js'",
  27. "test": "npm run tests-only",
  28. "posttest": "aud --production",
  29. "version": "auto-changelog && git add CHANGELOG.md",
  30. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  31. },
  32. "testling": {
  33. "files": "test/*.js",
  34. "browsers": {
  35. "ie": [
  36. 6,
  37. 7,
  38. 8,
  39. 9
  40. ],
  41. "ff": [
  42. 3.5,
  43. 10,
  44. 15
  45. ],
  46. "chrome": [
  47. 10,
  48. 22
  49. ],
  50. "safari": [
  51. 5.1
  52. ],
  53. "opera": [
  54. 12
  55. ]
  56. }
  57. },
  58. "repository": {
  59. "type": "git",
  60. "url": "git://github.com/inspect-js/defined.git"
  61. },
  62. "homepage": "https://github.com/inspect-js/defined",
  63. "keywords": [
  64. "undefined",
  65. "short-circuit",
  66. "||",
  67. "or",
  68. "//",
  69. "defined-or"
  70. ],
  71. "author": {
  72. "name": "James Halliday",
  73. "email": "mail@substack.net",
  74. "url": "http://substack.net"
  75. },
  76. "funding": {
  77. "url": "https://github.com/sponsors/ljharb"
  78. },
  79. "license": "MIT",
  80. "auto-changelog": {
  81. "output": "CHANGELOG.md",
  82. "template": "keepachangelog",
  83. "unreleased": false,
  84. "commitLimit": false,
  85. "backfillLimit": false,
  86. "hideCredit": true
  87. },
  88. "publishConfig": {
  89. "ignore": [
  90. ".github/workflows"
  91. ]
  92. }
  93. }