package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "byte-size",
  3. "author": "Lloyd Brookes <75pound@gmail.com>",
  4. "contributors": [
  5. {
  6. "name": "Raul Perez",
  7. "email": "repejota@gmail.com",
  8. "url": "http://repejota.com"
  9. }
  10. ],
  11. "version": "7.0.1",
  12. "main": "dist/index.js",
  13. "license": "MIT",
  14. "engines": {
  15. "node": ">=10"
  16. },
  17. "description": "Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.",
  18. "repository": "https://github.com/75lb/byte-size",
  19. "files": [
  20. "index.mjs",
  21. "dist/index.js"
  22. ],
  23. "keywords": [
  24. "convert",
  25. "bytes",
  26. "octet",
  27. "size",
  28. "human",
  29. "readable",
  30. "metric",
  31. "IEC"
  32. ],
  33. "scripts": {
  34. "test": "npm run dist && npm run test:esm && npm run test:web",
  35. "test:esm": "esm-runner test.mjs",
  36. "test:web": "web-runner test.mjs",
  37. "docs": "jsdoc2md -t README.hbs dist/index.js > README.md",
  38. "cover": "c8 npm test && c8 report --reporter=text-lcov | coveralls",
  39. "dist": "rollup -f umd -n byteSize -o dist/index.js index.mjs"
  40. },
  41. "devDependencies": {
  42. "@test-runner/web": "^0.3.5",
  43. "coveralls": "^3.1.0",
  44. "esm-runner": "^0.3.4",
  45. "isomorphic-assert": "^0.1.1",
  46. "jsdoc-to-markdown": "^7.0.0",
  47. "rollup": "^2.40.0",
  48. "test-object-model": "^0.6.1"
  49. },
  50. "standard": {
  51. "ignore": [
  52. "dist"
  53. ]
  54. }
  55. }