UNPKG

@randsum/notation

Version:

Dice notation parser and types for the @randsum ecosystem

65 lines (64 loc) 1.62 kB
{ "name": "@randsum/notation", "version": "3.0.0", "description": "Dice notation parser and types for the @randsum ecosystem", "private": false, "author": { "name": "Alex Jarvis", "url": "https://github.com/alxjrvs" }, "license": "MIT", "homepage": "https://github.com/RANDSUM/randsum", "repository": { "type": "git", "url": "git+https://github.com/RANDSUM/randsum.git", "directory": "packages/notation" }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist", "src", "LICENSE", "README.md" ], "type": "module", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./package.json": "./package.json" }, "engines": { "bun": ">=1.3.10", "node": ">=18.0.0" }, "keywords": [ "dice", "notation", "rpg", "parser", "typescript", "ttrpg", "randsum" ], "dependencies": {}, "devDependencies": {}, "scripts": { "dev": "bunup --watch", "build": "bunup --entry src/index.ts --format esm,cjs --dts --minify --sourcemap external --target node --clean", "test": "bun test", "lint": "eslint . -c ../../eslint.config.js", "format": "prettier --write . --ignore-path ../../.prettierignore --config ../../.prettierrc", "format:check": "prettier --check . --ignore-path ../../.prettierignore --config ../../.prettierrc", "typecheck": "tsc --noEmit" } }