{
  "name": "@ooxml-tools/validate",
  "description": "Validate Office Open XML files in nodejs the browser",
  "version": "0.4.6",
  "license": "MIT",
  "main": "./dist/npm/index.js",
  "types": "./dist/npm/index.d.ts",
  "type": "module",
  "bin": {
    "ooxml-validate": "./dist/npm/bin/ooxml-validate.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/ooxml-tools/validate"
  },
  "scripts": {
    "ci:build": "pnpm install && pnpm run build",
    "build": "rm -rf ./dist/* && pnpm run build:dotnet && pnpm run build:npm && chmod +x ./dist/npm/bin/ooxml-validate.js",
    "build:dotnet": "cd ./dotnet && dotnet workload restore  && dotnet publish -c Release && mkdir -p ./_framework && rm -rf ./_framework && cp -r ./bin/Release/net8.0/wwwroot/_framework ./_framework",
    "build:npm": "rollup -c rollup.config.ts --configPlugin typescript",
    "lint:format": "pnpm run lint:format:js && pnpm run lint:format:dotnet",
    "lint:format:js": "pnpx prettier . --write",
    "lint:format:dotnet": "cd dotnet && dotnet format",
    "lint": "pnpx prettier . --check",
    "test": "tsx ./test/index.ts && pnpm run lint"
  },
  "exports": {
    ".": {
      "types": "./dist/npm/index.d.ts",
      "default": "./dist/npm/index.js"
    },
    "./command": {
      "types": "./dist/npm/command.d.ts",
      "default": "./dist/npm/command.js"
    }
  },
  "files": [
    "./dist/npm",
    "./package.json",
    "./README.md"
  ],
  "devDependencies": {
    "@rollup/plugin-typescript": "^12.1.2",
    "@rollup/plugin-virtual": "^3.0.2",
    "@types/yargs": "^17.0.32",
    "execa": "^9.3.0",
    "prettier": "^3.8.1",
    "prettier-plugin-sh": "^0.18.0",
    "rollup": "^4.18.1",
    "rollup-plugin-copy": "^3.5.0",
    "rollup-plugin-dts": "^6.1.1",
    "rollup-plugin-typescript-paths": "^1.5.0",
    "tsx": "^4.17.0"
  },
  "dependencies": {
    "chalk": "^5.3.0",
    "yargs": "^18.0.0"
  },
  "packageManager": "pnpm@11.2.0",
  "engines": {
    "node": ">=20.x",
    "pnpm": ">=11"
  }
}
