{
  "name": "css-selector-generator",
  "title": "CSS Selector Generator",
  "version": "3.9.1",
  "description": "JavaScript object that creates unique CSS selector for given element.",
  "author": "Riki Fridrich <riki@fczbkk.com> (https://fczbkk.com)",
  "license": "MIT",
  "type": "module",
  "main": "build/index.js",
  "exports": {
    ".": {
      "types": "./types/index.d.ts",
      "import": "./esm/index.js",
      "require": "./build/index.js"
    },
    "./types/*": "./types/*"
  },
  "module": "./esm/index.js",
  "types": "types/index.d.ts",
  "scripts": {
    "clean": "rimraf ./esm ./types ./temp",
    "test": "npm run test:unit && npm run test:playwright && npm run test:scenarios",
    "test:playwright": "playwright test playwright-tests/playwright.spec.ts --config playwright-tests/playwright.config.ts",
    "test:scenarios": "tsx ./test/scenarios.ts",
    "test:unit": "wtr 'test/**/*.spec.ts'",
    "dev": "npm run watch:unit & npm run watch:playwright & npm run watch:scenarios",
    "prebuild": "npm run clean && npm run lint:build",
    "postbuild": "rimraf ./temp",
    "build": "npm run build:umd && npm run build:esm",
    "build:umd": "npm run build:cjs && webpack --config ./config/webpack.build.js",
    "build:cjs": "tsc --project ./tsconfig.cjs.json",
    "build:esm": "tsc --project ./tsconfig.esm.json",
    "lint": "eslint --config eslint.config.js",
    "lint:build": "npm run lint -- --max-warnings 0",
    "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
    "postversion": "git push && git push --tags && npm publish --access=public",
    "version": "npm run build && npm run changelog && git add -A",
    "watch:unit": "chokidar '{src,test}/**/*.ts' -c 'npm run test:unit'",
    "watch:playwright": "chokidar 'playwright-tests/**/*.ts' -c 'npm run test:playwright'",
    "watch:scenarios": "chokidar 'src/**/*.ts' 'scenario/**/*.html' -c 'npm run test:scenarios'"
  },
  "devDependencies": {
    "@eslint/js": "^9.19.0",
    "@playwright/test": "^1.50.1",
    "@types/chai": "^5.0.1",
    "@types/mocha": "^10.0.10",
    "@types/node": "^22.13.1",
    "@web/dev-server-esbuild": "^1.0.4",
    "@web/test-runner": "^0.20.2",
    "@web/test-runner-playwright": "^0.11.1",
    "chai": "^5.1.2",
    "chalk": "^5.4.1",
    "chokidar-cli": "^3.0.0",
    "conventional-changelog-cli": "^5.0.0",
    "esbuild": "^0.25.0",
    "eslint": "^9.19.0",
    "eslint-config-prettier": "^10.0.1",
    "glob": "^11.0.1",
    "husky": "^9.1.7",
    "lint-staged": "^15.4.3",
    "mocha": "^11.1.0",
    "playwright": "^1.50.1",
    "prettier": "^3.4.2",
    "raw-loader": "^4.0.2",
    "rimraf": "^6.0.1",
    "ts-loader": "^9.5.2",
    "tsx": "^4.19.2",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.56.0",
    "webpack": "^5.97.1",
    "webpack-cli": "^6.0.1"
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/fczbkk/css-selector-generator.git"
  },
  "homepage": "https://github.com/fczbkk/css-selector-generator/",
  "lint-staged": {
    "**/*": "prettier --write --ignore-unknown"
  }
}
