UNPKG

tiny-dices

Version:

Tiny Dices adds a sprinkle of fun and a touch of magic to your dice-rolling adventures — fully customizable with CSS and JavaScript to match your style, theme, or imagination! 🎲✨

70 lines (69 loc) 2.22 kB
{ "name": "tiny-dices", "description": "Tiny Dices adds a sprinkle of fun and a touch of magic to your dice-rolling adventures — fully customizable with CSS and JavaScript to match your style, theme, or imagination! 🎲✨", "version": "1.0.6", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "ethereum": "jasmindreasond.x", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.mjs" } }, "repository": "https://github.com/JasminDreasond/Tiny-Dices.git", "author": "Yasmin Seidel (JasminDreasond)", "license": "GPL-3.0-only", "dependencies": { "tiny-essentials": "^1.3.0", "validate-color": "^2.2.4" }, "keywords": [ "dice-roller", "virtual-dice", "dice", "randomizer", "js-dice", "css", "html5", "customizable", "tabletop", "rpg", "game-tools", "dice-for-rpg", "fun" ], "scripts": { "test": "npm run test:mjs && npm run test:cjs && npm run test:js", "test:js": "npx babel-node test/index.js", "test:mjs": "node test/index.mjs", "test:cjs": "node test/index.cjs", "fix:prettier": "prettier --write ./src/* && prettier --write ./test/*", "auto-build": "npm run build", "build": "npm run build:js && npm run build:css", "build:js": "tsc -p tsconfig.json && rollup -c", "build:css": "sass src/index.scss dist/TinyDices.css --no-source-map && sass src/index.scss dist/TinyDices.min.css --no-source-map --style=compressed", "build-clean": "npm run clean && npm run build", "build-dist": "npm run build", "clean": "rm -rf dist", "prepublishOnly": "npm run build" }, "devDependencies": { "@babel/cli": "^7.27.0", "@babel/core": "^7.26.10", "@babel/node": "^7.26.0", "@babel/preset-env": "^7.26.9", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "babel-preset-es2015": "^6.24.1", "prettier": "3.5.3", "rollup": "^4.40.0", "rollup-preserve-directives": "^1.1.3", "sass": "^1.86.3", "tslib": "^2.8.1", "typescript": "^5.8.3" } }