{
  "name": "bem-ts",
  "version": "0.15.1",
  "description": "BEM class names generator for TypeScript",
  "author": "Masafumi Koba <ybiquitous@gmail.com>",
  "repository": "ybiquitous/bem-ts",
  "keywords": [
    "BEM",
    "classname",
    "utility",
    "TypeScript"
  ],
  "license": "MIT",
  "type": "module",
  "exports": {
    "import": "./dist/index.js",
    "require": "./dist/index.cjs"
  },
  "module": "./dist/index.js",
  "main": "./dist/index.cjs",
  "types": "./dist/index.d.ts",
  "files": [
    "dist/",
    "!*test*"
  ],
  "engines": {
    "node": ">=20.0.0"
  },
  "publishConfig": {
    "provenance": true
  },
  "scripts": {
    "pretest": "npm run lint",
    "test": "vitest",
    "posttest": "npm-run-all --print-label --silent --parallel build build:*",
    "test:watch": "npm --ignore-scripts test -- --watch",
    "test:coverage": "npm --ignore-scripts test -- --coverage --watch=false",
    "posttest:coverage": "npm run posttest",
    "build": "tsc",
    "build:cjs": "tsc --project tsconfig.cjs.json && mv dist/cjs/index.js dist/index.cjs && rm -rf dist/cjs/",
    "lint:js": "eslint --cache --ext=js,jsx,cjs,mjs,ts,tsx .",
    "lint:js:fix": "npm run lint:js -- --fix",
    "lint:md": "remark . --frail",
    "lint:md:fix": "remark . --output",
    "lint:types": "tsc --noEmit",
    "lint:types:watch": "npm run lint:types -- --watch",
    "lint:styles": "npm run prettier -- --check",
    "lint:styles:fix": "npm run prettier -- --write",
    "lint:commit": "commitlint --from HEAD~10",
    "lint": "npm-run-all --print-label --silent --parallel lint:*",
    "format": "npm-run-all --print-label --silent --parallel lint:*:fix",
    "prettier": "prettier --cache .",
    "prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run clean",
    "release": "standard-version",
    "release:dry-run": "standard-version --dry-run",
    "clean": "git clean -dx --force --exclude=node_modules --exclude=.husky",
    "prepare": "husky",
    "prepublishOnly": "npm run posttest",
    "changelog": "if [ ! -f CHANGELOG.md ]; then opts='--first-release' ; fi && conventional-changelog --preset conventional-changelog-conventionalcommits $opts && prettier --write CHANGELOG.md",
    "changelog:dryrun": "npm version \"${NEW_VERSION:-major}\" --no-git-tag-version && git --no-pager diff CHANGELOG.md && git checkout CHANGELOG.md package.json package-lock.json",
    "postversion": "npm run changelog"
  },
  "devDependencies": {
    "@tsconfig/node16": "^16.1.8",
    "@tsconfig/strictest": "^2.0.8",
    "@types/node": "^24.10.1",
    "@typescript-eslint/eslint-plugin": "^8.47.0",
    "@vitest/coverage-v8": "^4.0.10",
    "eslint": "^8.52.0",
    "eslint-config-ybiquitous": "^22.0.0",
    "remark-preset-ybiquitous": "^0.5.1",
    "typescript": "^5.9.3",
    "vitest": "^4.0.7",
    "ybiq": "^19.2.0"
  },
  "lint-staged": {
    "*.{js,jsx,cjs,mjs,ts,tsx}": "eslint --cache --fix",
    "!(**/*.snap|.husky/**)": "prettier --cache --write",
    "!(CHANGELOG).md": "remark --frail"
  },
  "remarkConfig": {
    "plugins": [
      "remark-preset-ybiquitous"
    ]
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "header-max-length": [
        2,
        "always",
        150
      ],
      "body-max-line-length": [
        1,
        "always",
        300
      ],
      "scope-enum": [
        2,
        "always",
        [
          "actions",
          "deps",
          "deps-dev",
          "readme",
          "demo",
          "release",
          "travis",
          "sideci",
          "coverage",
          "security",
          "lint"
        ]
      ]
    }
  },
  "overrides": {
    "conventional-changelog-conventionalcommits": "^9.1.0"
  }
}
