@seroh/roll
Version:
An RPG dice-rolling library with a variety of built-in roll mechanics.
78 lines (77 loc) • 2 kB
JSON
{
"name": "@seroh/roll",
"author": "Serohman",
"license": "MIT",
"description": "An RPG dice-rolling library with a variety of built-in roll mechanics.",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Serohman/roll.git"
},
"bugs": {
"url": "https://github.com/Serohman/roll/issues"
},
"homepage": "https://github.com/Serohman/roll",
"keywords": [
"RPG",
"dice",
"rolling",
"dnd",
"dungeons-and-dragons",
"baldurs-gate",
"dice-roller",
"advantage",
"disadvantage",
"tabletop",
"TTRPG",
"game-development",
"typescript",
"probability",
"critical-hit",
"critical-fail",
"karmic-dice",
"randomizer",
"modifiers",
"game-mechanics"
],
"version": "1.0.1",
"main": "dist/index.js",
"files": [
"dist",
"readme.md"
],
"scripts": {
"prepare": "husky",
"start": "npm run build",
"build": "tsc --watch",
"test": "jest --watch",
"lint": "npx eslint ./src --config eslint.config.mjs",
"format": "npx prettier --write ./src",
"precommit": "lint-staged",
"precommit:format": "prettier --ignore-unknown --write",
"precommit:lint": "eslint --fix",
"precommit:test": "jest --bail --findRelatedTests",
"precommit:typecheck": "tsc --noEmit",
"ci:lint": "npx eslint ./src --config eslint.config.ci.mjs",
"ci:test": "jest --config jest.config.js --bail",
"ci:build": "tsc --build",
"ci:format": "npx prettier --check ./src"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/recommended": "^1.0.8",
"@types/jest": "^29.5.14",
"eslint": "^9.15.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"semantic-release": "^24.2.0",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3",
"typescript-eslint": "^8.15.0"
}
}