package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "fraction.js",
  3. "title": "fraction.js",
  4. "version": "4.3.7",
  5. "homepage": "https://www.xarg.org/2014/03/rational-numbers-in-javascript/",
  6. "bugs": "https://github.com/rawify/Fraction.js/issues",
  7. "description": "A rational number library",
  8. "keywords": [
  9. "math",
  10. "fraction",
  11. "rational",
  12. "rationals",
  13. "number",
  14. "parser",
  15. "rational numbers"
  16. ],
  17. "author": {
  18. "name": "Robert Eisele",
  19. "email": "robert@raw.org",
  20. "url": "https://raw.org/"
  21. },
  22. "type": "module",
  23. "main": "fraction.cjs",
  24. "exports": {
  25. ".": {
  26. "import": "./fraction.js",
  27. "require": "./fraction.cjs",
  28. "types": "./fraction.d.ts"
  29. }
  30. },
  31. "types": "./fraction.d.ts",
  32. "private": false,
  33. "readmeFilename": "README.md",
  34. "directories": {
  35. "example": "examples"
  36. },
  37. "license": "MIT",
  38. "repository": {
  39. "type": "git",
  40. "url": "git://github.com/rawify/Fraction.js.git"
  41. },
  42. "funding": {
  43. "type": "patreon",
  44. "url": "https://github.com/sponsors/rawify"
  45. },
  46. "engines": {
  47. "node": "*"
  48. },
  49. "scripts": {
  50. "test": "mocha tests/*.js"
  51. },
  52. "devDependencies": {
  53. "mocha": "*"
  54. }
  55. }