{
  "name": "spin-wheel-ts",
  "version": "1.0.0-alpha.7",
  "description": "An easy to use, themeable component for randomising choices and prizes.",
  "keywords": [
    "spinner",
    "wheel",
    "random",
    "picker",
    "prize",
    "spinning",
    "roulette",
    "fortune"
  ],
  "type": "module",
  "main": "dist/wheel.js",
  "types": "dist/wheel.d.ts",
  "scripts": {
    "test": "npx jest",
    "lint": "eslint src examples scripts --fix",
    "build": "rm -rf build && tsc --build .",
    "prepublish": "pnpm run build"
  },
  "eslintConfig": {
    "env": {
      "browser": true,
      "es2021": true
    },
    "parserOptions": {
      "sourceType": "module"
    },
    "rules": {
      "brace-style": [
        "error"
      ],
      "comma-dangle": [
        "error",
        {
          "objects": "always-multiline",
          "arrays": "always-multiline"
        }
      ],
      "comma-spacing": [
        "error",
        {
          "before": false,
          "after": true
        }
      ],
      "consistent-return": [
        "error",
        {
          "treatUndefinedAsUnspecified": true
        }
      ],
      "curly": [
        "error",
        "multi-line",
        "consistent"
      ],
      "eqeqeq": [
        "error"
      ],
      "func-call-spacing": [
        "error"
      ],
      "guard-for-in": [
        "error"
      ],
      "keyword-spacing": [
        "error"
      ],
      "linebreak-style": [
        "error",
        "unix"
      ],
      "max-statements-per-line": [
        "error",
        {
          "max": 1
        }
      ],
      "new-cap": [
        "error"
      ],
      "no-alert": [
        "error"
      ],
      "no-cond-assign": [
        "error",
        "always"
      ],
      "no-console": [
        "error"
      ],
      "no-dupe-args": [
        "error"
      ],
      "no-dupe-keys": [
        "error"
      ],
      "no-else-return": [
        "error"
      ],
      "no-extend-native": [
        "error"
      ],
      "no-floating-decimal": [
        "error"
      ],
      "no-labels": [
        "error"
      ],
      "no-mixed-spaces-and-tabs": [
        "error"
      ],
      "no-multi-spaces": [
        "error",
        {
          "ignoreEOLComments": true
        }
      ],
      "no-multiple-empty-lines": [
        "error"
      ],
      "no-octal": [
        "error"
      ],
      "no-return-assign": [
        "error",
        "always"
      ],
      "no-sparse-arrays": [
        "error"
      ],
      "no-throw-literal": [
        "error"
      ],
      "no-trailing-spaces": [
        "error"
      ],
      "no-unneeded-ternary": [
        "error"
      ],
      "no-use-before-define": [
        "error",
        {
          "functions": false,
          "classes": false
        }
      ],
      "no-useless-concat": [
        "error"
      ],
      "no-var": [
        "error"
      ],
      "no-with": [
        "error"
      ],
      "object-property-newline": [
        "error",
        {
          "allowAllPropertiesOnSameLine": true
        }
      ],
      "prefer-const": [
        "error"
      ],
      "quotes": [
        "error",
        "single"
      ],
      "semi": [
        "error",
        "always"
      ],
      "space-before-blocks": [
        "error"
      ],
      "space-before-function-paren": [
        "error",
        {
          "anonymous": "never",
          "named": "never",
          "asyncArrow": "always"
        }
      ],
      "space-in-parens": [
        "error",
        "never"
      ],
      "valid-typeof": [
        "error"
      ]
    }
  },
  "jest": {
    "verbose": true,
    "silent": false,
    "testMatch": [
      "**/tests/**/*.test.js"
    ],
    "testEnvironment": "jsdom",
    "setupFiles": [
      "jest-canvas-mock"
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/adrianso/spin-wheel-ts.git"
  },
  "author": "Adrian So",
  "license": "MIT",
  "homepage": "https://github.com/adrianso/spin-wheel-ts#readme",
  "engines": {
    "node": ">=14.8.0"
  },
  "devDependencies": {
    "browser-sync": "^2.27.5",
    "eslint": "^8.25.0",
    "jest": "^27.4.3",
    "jest-canvas-mock": "^2.5.1",
    "prettier": "^3.2.5",
    "typescript": "^5.3.3"
  }
}
