{
  "name": "smogon",
  "version": "3.0.0",
  "description": "Low-level wrapper around Smogon's analyses and usage statistics",
  "homepage": "https://smogon.com/",
  "repository": "github:pkmn/smogon",
  "license": "MIT",
  "sideEffects": false,
  "main": "build/index.js",
  "module": "build/index.mjs",
  "types": "build/index.d.ts",
  "files": [
    "build"
  ],
  "scripts": {
    "lint": "eslint --cache *.ts",
    "fix": "eslint --fix *.ts",
    "compile": "node compile-fixtures && tsc -p .",
    "build": "npm run compile && tsup index.ts",
    "test": "jest",
    "pretest": "npm run build",
    "posttest": "npm run lint"
  },
  "tsup": {
    "outDir": "build",
    "format": [
      "cjs",
      "esm"
    ],
    "sourcemap": true,
    "dts": true,
    "clean": true
  },
  "jest": {
    "testEnvironment": "node",
    "testPathIgnorePatterns": [
      "node_modules/",
      "dist/"
    ],
    "modulePathIgnorePatterns": [
      "fixtures/"
    ]
  },
  "babel": {
    "presets": [
      "@babel/preset-typescript",
      [
        "@babel/preset-env",
        {
          "targets": {
            "node": "current"
          }
        }
      ]
    ]
  },
  "eslintConfig": {
    "extends": "@pkmn"
  }
}
