{
  "name": "lawtext",
  "version": "0.1.52",
  "description": "Plain text format for Japanese law",
  "homepage": "https://github.com/yamachig/lawtext#readme",
  "bugs": {
    "url": "https://github.com/yamachig/lawtext/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/yamachig/lawtext.git"
  },
  "license": "MIT",
  "author": "yamachi",
  "main": "./dist/src/main.js",
  "types": "./dist/src/main.d.ts",
  "bin": {
    "lawtext": "dist/src/main.js"
  },
  "directories": {
    "test": "test"
  },
  "scripts": {
    "emitBinDeclarations": "tsc -p bin/build/tsconfig.json",
    "build": "node --trace-deprecation --trace-warnings bin/build/ && tsc",
    "watch": "node --trace-deprecation --trace-warnings bin/build/ && tsc --watch",
    "build-bundles": "webpack --mode=development --config ./webpack-configs/bundles.js",
    "build-bundles:prod": "webpack --mode=production --config ./webpack-configs/bundles.js",
    "prepare": "rm -rf ./dist && npm run build",
    "lawtext": "node ./dist/src/main.js",
    "test": "node --max_old_space_size=8192 ./dist/test/prepareTest.js && npx mocha"
  },
  "dependencies": {
    "@xmldom/xmldom": "^0.9.7",
    "canvas": "^3.1.0",
    "cli-progress": "^3.12.0",
    "fflate": "^0.8.2",
    "fs-extra": "^11.3.0",
    "generic-parser": "^0.1.13",
    "image-size": "^1.2.0",
    "node-fetch": "^3.3.2",
    "node-stream-zip": "^1.15.0",
    "pdfjs-dist": "^4.10.38",
    "react": "^19.0.0",
    "react-dom": "^19.0.0",
    "xml-parser-xo": "^4.1.3",
    "xpath": "^0.0.34",
    "yargs": "^17.7.2"
  },
  "devDependencies": {
    "@stylistic/eslint-plugin-ts": "^2.9.0",
    "@types/chai": "^5.0.1",
    "@types/cli-progress": "^3.11.6",
    "@types/fs-extra": "^11.0.4",
    "@types/mocha": "^10.0.10",
    "@types/node": "^22.13.4",
    "@types/react": "^19.0.8",
    "@types/react-dom": "^19.0.3",
    "@types/yargs": "^17.0.33",
    "chai": "^5.2.0",
    "dotenv": "^16.4.7",
    "eslint": "^9.20.1",
    "eslint-plugin-react": "^7.37.4",
    "eslint-plugin-react-hooks": "^5.1.0",
    "eslint-plugin-tsdoc": "^0.4.0",
    "mocha": "^11.1.0",
    "path-browserify": "^1.0.1",
    "ts-loader": "^9.5.2",
    "typescript": "^5.7.3",
    "typescript-eslint": "^8.24.0",
    "webpack": "^5.98.0",
    "webpack-cli": "^6.0.1",
    "webpack-node-externals": "^3.0.0"
  }
}
