UNPKG

js-randomness-predictor

Version:
70 lines (69 loc) 2.02 kB
{ "name": "js-randomness-predictor", "version": "1.2.0", "description": "Predict Math.random output in Node, Chrome, and Firefox", "type": "module", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "exports": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "bin": { "js-randomness-predictor": "./dist/esm/cli/js-randomness-predictor.js" }, "files": [ "dist", "README.md" ], "scripts": { "prepublishOnly": "npm run build", "build": "rimraf dist && npm run build:esm && npm run build:cjs", "postbuild": "node scripts/postbuild.cjs", "build:esm": "tsc -p tsconfig.esm.json", "build:cjs": "tsc -p tsconfig.cjs.json", "test": "vitest --typecheck.tsconfig tsconfig.esm.json", "test:coverage": "vitest run --coverage --typecheck.tsconfig tsconfig.esm.json", "test:open:coverage": "open coverage/lcov-report/index.html", "test:ui": "vitest --typecheck.tsconfig tsconfig.esm.json --ui", "format": "prettier . --write" }, "keywords": [ "predict-javascript-math-random", "predict", "javascript", "math.random", "Math.random", "math.random predictor", "javascript random predictor", "z3", "z3-solver", "rng predict" ], "author": "Matt Oestreich", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/matthewoestreich/js-randomness-predictor.git" }, "homepage": "https://github.com/matthewoestreich/js-randomness-predictor#readme", "bugs": { "url": "https://github.com/matthewoestreich/js-randomness-predictor/issues" }, "dependencies": { "@types/node": "^24.0.3", "@types/yargs": "^17.0.33", "typescript": "^5.8.3", "yargs": "^18.0.0", "z3-solver": "^4.15.1" }, "devDependencies": { "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "prettier": "^3.5.3", "rimraf": "^6.0.1", "tsx": "^4.20.3", "vitest": "^3.2.4" } }