@allemandi/gacha-engine
Version:
Practical, type-safe toolkit for simulating and understanding gacha rates and rate-ups.
70 lines (69 loc) • 2.04 kB
JSON
{
"name": "@allemandi/gacha-engine",
"version": "1.0.7",
"description": "Practical, type-safe toolkit for simulating and understanding gacha rates and rate-ups.",
"main": "dist/index.cjs",
"module": "dist/index.module.js",
"types": "./dist/index.d.ts",
"unpkg": "dist/index.umd.js",
"source": "src/index.ts",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.module.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"repository": "https://github.com/allemandi/gacha-engine.git",
"author": "allemandi <69766017+allemandi@users.noreply.github.com>",
"license": "MIT",
"type": "module",
"scripts": {
"build": "rollup -c",
"test": "vitest run",
"test:dist": "node test/smoke-cjs.cjs && node test/smoke-esm.mjs && node test/smoke-umd.cjs",
"dev:test": "vitest",
"lint": "eslint ."
},
"keywords": [
"gacha",
"gacha-engine",
"rate-up",
"probability",
"simulation",
"gacha-simulator",
"lootbox",
"random-drop",
"gaming",
"game-probability",
"rolls",
"typescript",
"type-safe",
"drop-rate"
],
"devDependencies": {
"@eslint/js": "^10.0.1",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"eslint": "^10.0.3",
"globals": "^17.4.0",
"rollup": "^4.59.0",
"rollup-plugin-dts": "^6.4.0",
"tslib": "^2.8.1",
"typescript": "^6.0.2",
"vitest": "^4.1.0"
}
}