package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "is-string",
  3. "version": "1.1.1",
  4. "author": "Jordan Harband <ljharb@gmail.com>",
  5. "funding": {
  6. "url": "https://github.com/sponsors/ljharb"
  7. },
  8. "description": "Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.",
  9. "license": "MIT",
  10. "main": "index.js",
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "prepublishOnly": "safe-publish-latest",
  14. "prepublish": "not-in-publish || npm run prepublishOnly",
  15. "pretest": "npm run lint",
  16. "tests-only": "nyc tape 'test/**/*.js'",
  17. "test:corejs": "nyc tape test-corejs.js",
  18. "test": "npm run tests-only && npm run test:corejs",
  19. "posttest": "npx npm@'>=10.2' audit --production",
  20. "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
  21. "lint": "eslint --ext=js,mjs .",
  22. "postlint": "tsc -p . && attw -P",
  23. "version": "auto-changelog && git add CHANGELOG.md",
  24. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  25. },
  26. "repository": {
  27. "type": "git",
  28. "url": "git://github.com/inspect-js/is-string.git"
  29. },
  30. "keywords": [
  31. "String",
  32. "string",
  33. "ES6",
  34. "toStringTag",
  35. "@@toStringTag",
  36. "String object"
  37. ],
  38. "dependencies": {
  39. "call-bound": "^1.0.3",
  40. "has-tostringtag": "^1.0.2"
  41. },
  42. "devDependencies": {
  43. "@arethetypeswrong/cli": "^0.17.1",
  44. "@ljharb/eslint-config": "^21.1.1",
  45. "@ljharb/tsconfig": "^0.2.2",
  46. "@types/core-js": "^2.5.8",
  47. "@types/tape": "^5.7.0",
  48. "auto-changelog": "^2.5.0",
  49. "core-js": "^3.39.0",
  50. "eclint": "^2.8.1",
  51. "encoding": "^0.1.13",
  52. "eslint": "=8.8.0",
  53. "in-publish": "^2.0.1",
  54. "is": "^3.3.0",
  55. "npmignore": "^0.3.1",
  56. "nyc": "^10.3.2",
  57. "safe-publish-latest": "^2.0.0",
  58. "tape": "^5.9.0",
  59. "typescript": "next"
  60. },
  61. "testling": {
  62. "files": "test/index.js",
  63. "browsers": [
  64. "iexplore/6.0..latest",
  65. "firefox/3.0..6.0",
  66. "firefox/15.0..latest",
  67. "firefox/nightly",
  68. "chrome/4.0..10.0",
  69. "chrome/20.0..latest",
  70. "chrome/canary",
  71. "opera/10.0..latest",
  72. "opera/next",
  73. "safari/4.0..latest",
  74. "ipad/6.0..latest",
  75. "iphone/6.0..latest",
  76. "android-browser/4.2"
  77. ]
  78. },
  79. "engines": {
  80. "node": ">= 0.4"
  81. },
  82. "auto-changelog": {
  83. "output": "CHANGELOG.md",
  84. "template": "keepachangelog",
  85. "unreleased": false,
  86. "commitLimit": false,
  87. "backfillLimit": false
  88. },
  89. "publishConfig": {
  90. "ignore": [
  91. ".github/workflows",
  92. "test-corejs.js"
  93. ]
  94. }
  95. }