{
  "name": "@stoplight/path",
  "version": "2.0.1",
  "description": "",
  "keywords": [],
  "sideEffects": false,
  "homepage": "https://github.com/stoplightio/path",
  "bugs": "https://github.com/stoplightio/path/issues",
  "author": "Stoplight <support@stoplight.io>",
  "repository": {
    "type": "git",
    "url": "https://github.com/stoplightio/path"
  },
  "license": "Apache-2.0",
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/types/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.js"
    }
  },
  "files": [
    "src",
    "dist"
  ],
  "engines": {
    "node": "^12.20 || >=14.13"
  },
  "scripts": {
    "build": "rimraf dist && yarn build.grammar && yarn build.cjs && yarn build.esm",
    "build.esm": "tsc -p tsconfig.build.json --outDir dist/esm --declarationDir dist/types",
    "build.cjs": "tsc -p tsconfig.build.json --outDir dist/cjs --module commonjs --declarationDir dist/types",
    "build.grammar": "peggy --format=es src/grammar.pegjs",
    "commit": "git-cz",
    "lint": "eslint 'src/**/*.ts' && prettier --check 'src/**/*.ts'",
    "lint.fix": "eslint 'src/**/*.ts' --fix && prettier --write 'src/**/*.ts'",
    "release": "semantic-release",
    "pretest": "yarn build.grammar",
    "test": "jest",
    "test.prod": "yarn lint && yarn test --coverage --maxWorkers=2",
    "test.update": "yarn test --updateSnapshot",
    "test.watch": "yarn test --watch",
    "yalc": "yarn build && yalc push",
    "yalc.watch": "nodemon --watch 'src/**/*' --exec 'yarn yalc'"
  },
  "peerDependencies": {},
  "devDependencies": {
    "@commitlint/cli": "^17.4.2",
    "@commitlint/config-conventional": "^17.4.2",
    "@types/jest": "^29.4.0",
    "@typescript-eslint/eslint-plugin": "^5.50.0",
    "@typescript-eslint/parser": "^5.50.0",
    "@semantic-release/commit-analyzer": "^9.0.2",
    "@semantic-release/git": "^10.0.1",
    "@semantic-release/github": "^8.0.7",
    "@semantic-release/npm": "^9.0.2",
    "@semantic-release/release-notes-generator": "^10.0.3",
    "eslint": "^8.33.0",
    "eslint-config-prettier": "^8.6.0",
    "eslint-plugin-jest": "^27.2.1",
    "eslint-plugin-prettier": "^4.2.1",
    "husky": "^4.3.8",
    "jest": "^29.4.1",
    "lint-staged": "^13.1.0",
    "nodemon": "1.x.x",
    "peggy": "^2.0.1",
    "prettier": "^2.8.3",
    "rimraf": "^4.1.2",
    "semantic-release": "^19.0.5",
    "ts-jest": "^29.0.5",
    "typescript": "^4.9.5"
  },
  "lint-staged": {
    "*.{ts,tsx}$": [
      "yarn lint.fix"
    ]
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
      "pre-commit": "lint-staged"
    }
  },
  "config": {
    "commitizen": {
      "path": "node_modules/cz-conventional-changelog"
    }
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "prettier": {
    "arrowParens": "avoid",
    "printWidth": 120,
    "singleQuote": true,
    "trailingComma": "all"
  }
}
