UNPKG

js-randomness-predictor-cpp

Version:

Node.js native addon (C++) for high-performance Math.random() prediction

68 lines (67 loc) 2.06 kB
{ "name": "js-randomness-predictor-cpp", "version": "1.1.0", "description": "Node.js native addon (C++) for high-performance Math.random() prediction", "main": "index.js", "types": "index.d.ts", "exports": { "import": "./index.mjs", "require": "./index.cjs", "types": "./index.d.ts" }, "binary": { "napi_versions": [ 8 ], "module_name": "js-randomness-predictor-cpp", "module_path": "prebuilds/{platform}-{arch}/" }, "files": [ "prebuilds/", "binding.gyp", "index.cjs", "index.mjs", "index.js", "index.d.ts" ], "scripts": { "install": "node-gyp-build", "prebuildify": "prebuildify --napi", "configure": "node-gyp configure", "configure:verbose": "node-gyp configure --verbose", "build": "node-gyp build", "build:bear": "bear --output build/compile_commands.json -- node-gyp configure build", "clean": "node-gyp clean", "publish:main:major": "git add . && git commit --allow-empty -m \"[publish] #major\" && git push origin main", "publish:main:minor": "git add . && git commit --allow-empty -m \"[publish] #minor\" && git push origin main", "publish:main:patch": "git add . && git commit --allow-empty -m \"[publish] #patch\" && git push origin main", "format:cpp": "node scripts/clang-format.mjs", "format:js": "prettier \"**/*.{js,cjs,mjs}\" --write", "format": "npm run format:cpp && npm run format:js", "test:js": "node --test tests/js/index.js", "test": "node scripts/build-and-run-tests.mjs" }, "keywords": [ "predict javascript randomness", "predict math.random", "math.random", "math.random predictor", "predict", "predictor", "z3" ], "author": "Matt Oestreich", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/matthewoestreich/js-randomness-predictor-cpp.git" }, "dependencies": { "node-addon-api": "^8.4.0", "node-gyp": "^11.2.0", "node-gyp-build": "^4.8.4" }, "devDependencies": { "prebuildify": "^6.0.1" } }