wheel-fortune
Version:
A lightweight, customizable spinning wheel component for web games and raffles
80 lines (79 loc) • 2 kB
JSON
{
"name": "wheel-fortune",
"version": "4.0.9",
"description": "A lightweight, customizable spinning wheel component for web games and raffles",
"author": "ux-ui.pro",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ux-ui-pro/wheel-fortune.git"
},
"bugs": {
"url": "https://github.com/ux-ui-pro/wheel-fortune/issues"
},
"homepage": "https://github.com/ux-ui-pro/wheel-fortune",
"sideEffects": false,
"scripts": {
"clean": "rimraf dist",
"build": "vite build",
"lint:js": "eslint src/**/*.{ts,js}",
"lint:fix:js": "eslint src/**/*.{ts,js} --fix",
"format:js": "prettier --write src/**/*.{ts,js}",
"lint:fix": "yarn lint:fix:js && yarn format:js"
},
"source": "src/index.ts",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.es.js"
},
"./dist/*": "./dist/*"
},
"files": [
"dist/"
],
"devDependencies": {
"@eslint/js": "9.26.0",
"@rollup/plugin-terser": "0.4.4",
"@types/node": "22.15.3",
"@typescript-eslint/eslint-plugin": "8.31.1",
"@typescript-eslint/parser": "8.31.1",
"eslint": "9.26.0",
"eslint-config-prettier": "10.1.2",
"eslint-import-resolver-typescript": "4.3.4",
"eslint-plugin-import": "2.31.0",
"globals": "16.0.0",
"prettier": "3.5.3",
"rimraf": "6.0.1",
"typescript": "5.8.3",
"vite": "6.3.4",
"vite-plugin-dts": "4.5.3"
},
"keywords": [
"wheel",
"spin",
"roulette",
"wheel-spinner",
"fortune-wheel",
"spinning-wheel",
"lucky-wheel",
"prize",
"game",
"gamification",
"animation",
"ui",
"ux",
"interactive",
"component",
"typescript",
"javascript",
"html",
"css",
"web",
"front-end",
"dom"
]
}