{
  "name": "@dice-roller/rpg-dice-roller",
  "description": "An advanced JS based dice roller that can roll various types of dice and modifiers, along with mathematical equations.",
  "author": "GreenImp Media <info@greenimp.co.uk> (https://greenimp.co.uk)",
  "version": "5.5.1",
  "license": "MIT",
  "type": "module",
  "main": "./lib/esm/bundle.js",
  "module": "./lib/esm/bundle.js",
  "browser": "./lib/umd/bundle.js",
  "exports": {
    ".": {
      "import": {
        "types": "./types/index.d.ts",
        "default": "./lib/esm/bundle.js"
      },
      "require": {
        "types": "./types/index.d.cts",
        "default": "./lib/umd/bundle.js"
      }
    },
    "./lib/umd/bundle.js": {
      "types": "./types/index.d.cts",
      "require": "./lib/umd/bundle.js"
    },
    "./src/": "./src/",
    "./types/": "./types/",
    "./package.json": "./package.json"
  },
  "types": "./types/index.d.ts",
  "repository": {
    "type": "git",
    "url": "https://github.com/dice-roller/rpg-dice-roller.git"
  },
  "bugs": {
    "url": "https://github.com/dice-roller/rpg-dice-roller/issues"
  },
  "homepage": "https://dice-roller.github.io/documentation",
  "funding": [
    "https://github.com/sponsors/dice-roller",
    "https://github.com/sponsors/GreenImp"
  ],
  "keywords": [
    "dice",
    "roller",
    "rpg",
    "roll",
    "d&d",
    "dnd",
    "random",
    "prng",
    "roleplay",
    "pathfinder",
    "notation"
  ],
  "devDependencies": {
    "@babel/core": "^7.19.3",
    "@babel/preset-env": "^7.19.3",
    "@rollup/plugin-babel": "^5.3.1",
    "@rollup/plugin-commonjs": "^22.0.2",
    "@rollup/plugin-eslint": "^8.0.2",
    "@rollup/plugin-node-resolve": "^14.1.0",
    "abab": "^2.0.6",
    "eslint": "^8.24.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-plugin-import": "^2.26.0",
    "jest": "^29.1.2",
    "peggy": "^3.0.2",
    "rollup": "^2.79.1",
    "rollup-plugin-banner": "^0.2.1",
    "rollup-plugin-terser": "^7.0.2",
    "typescript": "^4.8.4",
    "vuepress-jsdoc": "^5.0.0"
  },
  "dependencies": {
    "mathjs": "^14.2.0",
    "random-js": "^2.1.0"
  },
  "engines": {
    "node": ">=18.0"
  },
  "scripts": {
    "build": "npm run build:dev && npm run build:prod && npm run build:declaration",
    "build:prepare": "npm run build:grammars && npm run lint",
    "build:declaration": "rm -rf types/ && tsc -p declaration.tsconfig.json && cp ./types/index.d.ts ./types/index.d.cts",
    "build:dev": "npm run build:prepare && rollup --c --environment BUILD:dev",
    "build:grammars": "peggy -c ./peggy.config.cjs ./src/parser/grammars/grammar.pegjs",
    "build:prod": "npm run build:prepare && rollup --c --environment BUILD:prod",
    "docs:build": "vuepress-jsdoc --dist ./docs --folder api --exclude=\"index.js,**/index.js,**/parser/grammars/*\" --partials=\"./docs/partials/**/*.hbs\" --readme=\"./docs/readme.md\"",
    "docs:watch": "npm run docs:build -- --watch",
    "watch": "npm run build:dev -- -w",
    "lint": "eslint src/** tests/**",
    "lint:fix": "eslint --fix src/** tests/**",
    "pretest": "npm run build:prepare",
    "test": "jest",
    "test:coverage": "npm test -- --coverage",
    "test:watch": "npm test -- --watchAll",
    "prepublishOnly": "npm test && npm run build"
  }
}
