package.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "math-intrinsics",
  3. "version": "1.0.0",
  4. "description": "ES Math-related intrinsics and helpers, robustly cached.",
  5. "main": false,
  6. "exports": {
  7. "./abs": "./abs.js",
  8. "./floor": "./floor.js",
  9. "./isFinite": "./isFinite.js",
  10. "./isInteger": "./isInteger.js",
  11. "./isNaN": "./isNaN.js",
  12. "./isNegativeZero": "./isNegativeZero.js",
  13. "./max": "./max.js",
  14. "./min": "./min.js",
  15. "./mod": "./mod.js",
  16. "./pow": "./pow.js",
  17. "./sign": "./sign.js",
  18. "./constants/maxArrayLength": "./constants/maxArrayLength.js",
  19. "./constants/maxSafeInteger": "./constants/maxSafeInteger.js",
  20. "./constants/maxValue": "./constants/maxValue.js",
  21. "./package.json": "./package.json"
  22. },
  23. "sideEffects": false,
  24. "scripts": {
  25. "prepack": "npmignore --auto --commentLines=autogenerated",
  26. "prepublishOnly": "safe-publish-latest",
  27. "prepublish": "not-in-publish || npm run prepublishOnly",
  28. "pretest": "npm run lint",
  29. "test": "npm run tests-only",
  30. "tests-only": "nyc tape 'test/**/*.js'",
  31. "posttest": "npx npm@'>= 10.2' audit --production",
  32. "prelint": "evalmd README.md",
  33. "lint": "eslint --ext=js,mjs .",
  34. "postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
  35. "version": "auto-changelog && git add CHANGELOG.md",
  36. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  37. },
  38. "repository": {
  39. "type": "git",
  40. "url": "git+https://github.com/es-shims/math-intrinsics.git"
  41. },
  42. "author": "Jordan Harband <ljharb@gmail.com>",
  43. "license": "MIT",
  44. "bugs": {
  45. "url": "https://github.com/es-shims/math-intrinsics/issues"
  46. },
  47. "homepage": "https://github.com/es-shims/math-intrinsics#readme",
  48. "devDependencies": {
  49. "@arethetypeswrong/cli": "^0.17.1",
  50. "@ljharb/eslint-config": "^21.1.1",
  51. "@ljharb/tsconfig": "^0.2.2",
  52. "@types/for-each": "^0.3.3",
  53. "@types/object-inspect": "^1.13.0",
  54. "@types/tape": "^5.6.5",
  55. "auto-changelog": "^2.5.0",
  56. "eclint": "^2.8.1",
  57. "es-value-fixtures": "^1.5.0",
  58. "eslint": "^8.8.0",
  59. "evalmd": "^0.0.19",
  60. "for-each": "^0.3.3",
  61. "in-publish": "^2.0.1",
  62. "npmignore": "^0.3.1",
  63. "nyc": "^10.3.2",
  64. "object-inspect": "^1.13.3",
  65. "safe-publish-latest": "^2.0.0",
  66. "tape": "^5.9.0",
  67. "typescript": "next"
  68. },
  69. "auto-changelog": {
  70. "output": "CHANGELOG.md",
  71. "template": "keepachangelog",
  72. "unreleased": false,
  73. "commitLimit": false,
  74. "backfillLimit": false,
  75. "hideCredit": true
  76. },
  77. "publishConfig": {
  78. "ignore": [
  79. ".github/workflows"
  80. ]
  81. },
  82. "engines": {
  83. "node": ">= 0.4"
  84. }
  85. }