ttrpg-lib-dice
Version:
A small library for rolling dice in tabletop games
60 lines (59 loc) • 1.68 kB
JSON
{
"name": "ttrpg-lib-dice",
"version": "1.0.12",
"description": "A small library for rolling dice in tabletop games",
"author": "8kto (https://ivlev.blog)",
"repository": {
"type": "git",
"url": "git+https://github.com/8kto/ttrpg-lib-dice.git"
},
"bugs": {
"url": "https://github.com/8kto/ttrpg-lib-dice/issues"
},
"homepage": "https://github.com/8kto/ttrpg-lib-dice#readme",
"keywords": [
"typescript",
"npm",
"library",
"random",
"diceroller",
"dices",
"rpg",
"ttrpg"
],
"type": "module",
"main": "dist/cjs/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
}
},
"scripts": {
"prebuild": "rm -rf dist/",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build": "npm run build:cjs && npm run build:esm",
"prepare": "yarn build",
"release": "yarn version --patch && git push origin main && git push origin --tags && yarn publish --access public",
"format": "prettier . --check",
"format:fix": "yarn eslint --fix && prettier --write .",
"lint": "yarn eslint src/",
"test": "jest src/",
"test:coverage": "jest src/ --collectCoverage"
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^29.5.14",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^12.1.0",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"ts-jest": "^29.3.2",
"typescript": "^5.5.3"
}
}