package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "long",
  3. "version": "5.3.2",
  4. "author": "Daniel Wirtz <dcode@dcode.io>",
  5. "description": "A Long class for representing a 64-bit two's-complement integer value.",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/dcodeIO/long.js.git"
  9. },
  10. "bugs": {
  11. "url": "https://github.com/dcodeIO/long.js/issues"
  12. },
  13. "keywords": [
  14. "math",
  15. "long",
  16. "int64"
  17. ],
  18. "license": "Apache-2.0",
  19. "type": "module",
  20. "main": "umd/index.js",
  21. "types": "umd/index.d.ts",
  22. "exports": {
  23. ".": {
  24. "import": {
  25. "types": "./index.d.ts",
  26. "default": "./index.js"
  27. },
  28. "require": {
  29. "types": "./umd/index.d.ts",
  30. "default": "./umd/index.js"
  31. }
  32. }
  33. },
  34. "scripts": {
  35. "build": "node scripts/build.js",
  36. "lint": "prettier --check .",
  37. "format": "prettier --write .",
  38. "test": "npm run test:unit && npm run test:typescript",
  39. "test:unit": "node tests",
  40. "test:typescript": "tsc --project tests/typescript/tsconfig.esnext.json && tsc --project tests/typescript/tsconfig.nodenext.json && tsc --project tests/typescript/tsconfig.commonjs.json && tsc --project tests/typescript/tsconfig.global.json"
  41. },
  42. "files": [
  43. "index.js",
  44. "index.d.ts",
  45. "types.d.ts",
  46. "umd/index.js",
  47. "umd/index.d.ts",
  48. "umd/types.d.ts",
  49. "umd/package.json",
  50. "LICENSE",
  51. "README.md"
  52. ],
  53. "devDependencies": {
  54. "esm2umd": "^0.3.1",
  55. "prettier": "^3.5.0",
  56. "typescript": "^5.7.3"
  57. }
  58. }