{
  "name": "fentastic",
  "version": "0.2.2",
  "description": "Validate and parse Forsyth-Edwards Notation (FEN) used to describe a chess game board position.",
  "author": "frederickf <ffeibel@gmailc.com>",
  "license": "MIT",
  "keywords": [
    "FEN",
    "chess"
  ],
  "homepage": "https://github.com/frederickf/fentastic#readme",
  "bugs": {
    "url": "https://github.com/frederickf/fentastic/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/frederickf/fentastic.git"
  },
  "type": "module",
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "exports": {
    ".": {
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.js"
    }
  },
  "files": [
    "dist/"
  ],
  "scripts": {
    "lint": "eslint src/**/*.ts",
    "test": "jest --verbose",
    "verify": "npm run lint && npm test",
    "prebuild": "rimraf dist/",
    "build": "npm run build:esm && npm run build:cjs",
    "build:esm": "tsc --outDir dist/esm",
    "build:cjs": "tsc --module CommonJS --outDir dist/cjs && node writeCjsPackage.js",
    "preversion": "npm run verify",
    "postversion": "git push && git push --tags",
    "prepublishOnly": "npm run verify && npm run build"
  },
  "jest": {
    "preset": "ts-jest/presets/default-esm",
    "testEnvironment": "node",
    "globals": {
      "ts-jest": {
        "useESM": true
      }
    },
    "extensionsToTreatAsEsm": [
      ".ts"
    ],
    "moduleNameMapper": {
      "^(\\.{1,2}/.*)\\.js$": "$1"
    }
  },
  "devDependencies": {
    "@types/jest": "^28.1.8",
    "@types/node": "^18.6.3",
    "@typescript-eslint/eslint-plugin": "^5.36.1",
    "@typescript-eslint/parser": "^5.36.1",
    "eslint": "^8.23.0",
    "rimraf": "^3.0.2",
    "ts-jest": "^28.0.8",
    "typescript": "^4.8.2"
  }
}
