package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "pure-rand",
  3. "version": "6.1.0",
  4. "description": " Pure random number generator written in TypeScript",
  5. "type": "commonjs",
  6. "main": "lib/pure-rand.js",
  7. "exports": {
  8. "./package.json": "./package.json",
  9. ".": {
  10. "require": {
  11. "types": "./lib/types/pure-rand.d.ts",
  12. "default": "./lib/pure-rand.js"
  13. },
  14. "import": {
  15. "types": "./lib/esm/types/pure-rand.d.ts",
  16. "default": "./lib/esm/pure-rand.js"
  17. }
  18. }
  19. },
  20. "module": "lib/esm/pure-rand.js",
  21. "types": "lib/types/pure-rand.d.ts",
  22. "files": [
  23. "lib"
  24. ],
  25. "sideEffects": false,
  26. "packageManager": "yarn@4.1.1",
  27. "scripts": {
  28. "format:check": "prettier --list-different .",
  29. "format": "prettier --write .",
  30. "build": "tsc && tsc -p ./tsconfig.declaration.json",
  31. "build:esm": "tsc --module es2015 --outDir lib/esm --moduleResolution node && tsc -p ./tsconfig.declaration.json --outDir lib/esm/types && cp package.esm-template.json lib/esm/package.json",
  32. "build:prod": "yarn build && yarn build:esm && node postbuild/main.cjs",
  33. "build:prod-ci": "cross-env EXPECT_GITHUB_SHA=true yarn build:prod",
  34. "test": "jest --config jest.config.js --coverage",
  35. "build:bench:old": "tsc --outDir lib-reference/",
  36. "build:bench:new": "tsc --outDir lib-test/",
  37. "bench": "node perf/benchmark.cjs"
  38. },
  39. "repository": {
  40. "type": "git",
  41. "url": "git+https://github.com/dubzzz/pure-rand.git"
  42. },
  43. "author": "Nicolas DUBIEN <github@dubien.org>",
  44. "license": "MIT",
  45. "bugs": {
  46. "url": "https://github.com/dubzzz/pure-rand/issues"
  47. },
  48. "homepage": "https://github.com/dubzzz/pure-rand#readme",
  49. "devDependencies": {
  50. "@types/jest": "^29.5.12",
  51. "@types/node": "^20.11.30",
  52. "cross-env": "^7.0.3",
  53. "fast-check": "^3.16.0",
  54. "jest": "^29.7.0",
  55. "prettier": "3.2.5",
  56. "replace-in-file": "^7.1.0",
  57. "source-map-support": "^0.5.21",
  58. "tinybench": "^2.6.0",
  59. "ts-jest": "^29.1.2",
  60. "ts-node": "^10.9.2",
  61. "typescript": "^5.4.2"
  62. },
  63. "keywords": [
  64. "seed",
  65. "random",
  66. "prng",
  67. "generator",
  68. "pure",
  69. "rand",
  70. "mersenne",
  71. "random number generator",
  72. "fastest",
  73. "fast"
  74. ],
  75. "funding": [
  76. {
  77. "type": "individual",
  78. "url": "https://github.com/sponsors/dubzzz"
  79. },
  80. {
  81. "type": "opencollective",
  82. "url": "https://opencollective.com/fast-check"
  83. }
  84. ]
  85. }