Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

package.json 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "define-properties",
  3. "version": "1.2.1",
  4. "author": "Jordan Harband <ljharb@gmail.com>",
  5. "funding": {
  6. "url": "https://github.com/sponsors/ljharb"
  7. },
  8. "description": "Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.",
  9. "license": "MIT",
  10. "main": "index.js",
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "prepublish": "not-in-publish || npm run prepublishOnly",
  14. "prepublishOnly": "safe-publish-latest",
  15. "pretest": "npm run lint",
  16. "test": "npm run tests-only",
  17. "posttest": "aud --production",
  18. "tests-only": "nyc tape 'test/**/*.js'",
  19. "lint": "eslint --ext=js,mjs .",
  20. "version": "auto-changelog && git add CHANGELOG.md",
  21. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  22. },
  23. "repository": {
  24. "type": "git",
  25. "url": "git://github.com/ljharb/define-properties.git"
  26. },
  27. "keywords": [
  28. "Object.defineProperty",
  29. "Object.defineProperties",
  30. "object",
  31. "property descriptor",
  32. "descriptor",
  33. "define",
  34. "ES5"
  35. ],
  36. "dependencies": {
  37. "define-data-property": "^1.0.1",
  38. "has-property-descriptors": "^1.0.0",
  39. "object-keys": "^1.1.1"
  40. },
  41. "devDependencies": {
  42. "@ljharb/eslint-config": "^21.1.0",
  43. "aud": "^2.0.3",
  44. "auto-changelog": "^2.4.0",
  45. "eslint": "=8.8.0",
  46. "in-publish": "^2.0.1",
  47. "npmignore": "^0.3.0",
  48. "nyc": "^10.3.2",
  49. "safe-publish-latest": "^2.0.0",
  50. "tape": "^5.6.6"
  51. },
  52. "testling": {
  53. "files": "test/index.js",
  54. "browsers": [
  55. "iexplore/6.0..latest",
  56. "firefox/3.0..6.0",
  57. "firefox/15.0..latest",
  58. "firefox/nightly",
  59. "chrome/4.0..10.0",
  60. "chrome/20.0..latest",
  61. "chrome/canary",
  62. "opera/10.0..latest",
  63. "opera/next",
  64. "safari/4.0..latest",
  65. "ipad/6.0..latest",
  66. "iphone/6.0..latest",
  67. "android-browser/4.2"
  68. ]
  69. },
  70. "engines": {
  71. "node": ">= 0.4"
  72. },
  73. "auto-changelog": {
  74. "output": "CHANGELOG.md",
  75. "template": "keepachangelog",
  76. "unreleased": false,
  77. "commitLimit": false,
  78. "backfillLimit": false,
  79. "hideCredit": true,
  80. "startingVersion": "1.1.5"
  81. },
  82. "publishConfig": {
  83. "ignore": [
  84. ".github/workflows",
  85. "test/"
  86. ]
  87. }
  88. }