{
  "name": "@rewheel/rewheel",
  "version": "0.1.0",
  "description": "Firmware modification tools for OneWheel Pint, Pint X, and XR",
  "repository": "git@github.com:outlandnish/rewheel.git",
  "author": "Nishanth Samala <hey@outlandnish.com>",
  "license": "GPL-3.0-or-later",
  "private": true,
  "scripts": {
    "patcher": "yarn workspace @rewheel/cli start",
    "web:dev": "yarn workspace @rewheel/web dev",
    "web:build": "yarn workspace @rewheel/web build && cp web/_redirects web/dist/_redirects"
  },
  "lint-staged": {
    "*.js": "eslint --cache --fix"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged && pretty-quick --staged"
    }
  },
  "workspaces": [
    "common",
    "cli",
    "web",
    "web/netlify/functions/*"
  ],
  "eslintConfig": {
    "root": true,
    "env": {
      "browser": true
    },
    "parserOptions": {
      "ecmaVersion": "latest"
    },
    "extends": [
      "eslint:recommended",
      "plugin:react/recommended",
      "plugin:react/jsx-runtime",
      "plugin:import/recommended",
      "eslint-config-prettier"
    ],
    "plugins": [
      "unused-imports"
    ],
    "settings": {
      "react": {
        "version": "detect"
      },
      "import/resolver": {
        "node": {
          "paths": [
            "src"
          ],
          "extensions": [
            ".js",
            ".jsx"
          ]
        }
      }
    },
    "rules": {
      "no-unused-vars": "off",
      "unused-imports/no-unused-imports": "error",
      "unused-imports/no-unused-vars": [
        "warn",
        {
          "vars": "all",
          "varsIgnorePattern": "^_",
          "args": "after-used",
          "argsIgnorePattern": "^_"
        }
      ],
      "prefer-const": "error"
    }
  },
  "prettier": {
    "semi": false
  },
  "packageManager": "yarn@3.3.0",
  "devDependencies": {
    "eslint": "^8.28.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-react": "^7.31.11",
    "eslint-plugin-unused-imports": "^2.0.0",
    "husky": "^8.0.2",
    "lint-staged": "^13.0.4",
    "prettier": "^2.8.0",
    "pretty-quick": "^3.1.3"
  },
  "dependencies": {
    "js-parse-xml": "^2.0.5"
  }
}
