{
  "name": "@ef-carbon/dom",
  "version": "15.5.1",
  "description": "A simple TypeScript document object model",
  "main": "dist/lib/index.umd.js",
  "module": "dist/lib/index.js",
  "types": "dist/lib/index.d.ts",
  "homepage": "https://ef-carbon.github.io/dom/",
  "repository": "https://github.com/ef-carbon/dom.git",
  "license": "MIT",
  "engines": {
    "node": ">=8.3"
  },
  "scripts": {
    "prepare": "yarn -s replace:snapshots && yarn -s replace:mocks",
    "replace:snapshots": "replace-in-file __snapshots__ fixtures 'node_modules/jest*/**/*.js'",
    "replace:mocks": "replace-in-file __mocks__ mocks 'node_modules/jest*/**/*.js'",
    "prepublishOnly": "yarn -s build",
    "commit": "git-cz",
    "distclean": "git clean -Xfd",
    "clean": "git clean -Xfde node_modules",
    "build": "yarn -s build:ts",
    "postbuild": "ef-tspm -s && yarn -s build:rollup",
    "build:ts": "tsc",
    "build:rollup": "rollup -c",
    "format": "yarn -s lint:format:fix",
    "lint": "yarn -s lint:ts && yarn -s lint:format && yarn -s lint:commit && yarn -s lint:ci",
    "lint:fix": "yarn -s lint:ts:fix && yarn -s lint:format:fix",
    "lint:ci": "yamllint .circleci/config.yml",
    "lint:ts": "tslint --project lint -t verbose",
    "lint:ts:fix": "yarn -s lint:ts --fix",
    "lint:format": "yarn -s lint:format:fix --verify",
    "lint:format:fix": "tsfmt --useTsconfig lint/tsconfig.json -r",
    "lint:commit": "commitlint --from=$(git merge-base origin/master HEAD) --to=HEAD",
    "watch:ts": "tsc -w",
    "watch:test": "jest --watch",
    "test": "jest",
    "coverage": "yarn -s test --coverage",
    "ci": "yarn -s build && yarn -s lint && yarn -s test && yarn -s docs",
    "fix": "yarn -s lint:fix",
    "docs": "yarn -s typedoc lib",
    "docs:open": "yarn -s opn dist/docs/index.html"
  },
  "husky": {
    "hooks": {
      "pre-push": "yarn -s ci",
      "commit-msg": "commitlint -e $GIT_PARAMS"
    }
  },
  "directories": {
    "lib": "lib",
    "test": "test",
    "doc": "docs"
  },
  "dependencies": {
    "assert-never": "^1.1.0"
  },
  "peerDependencies": {
    "@ef-carbon/primitive": "^4.0.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^7.0.0",
    "@commitlint/config-conventional": "^7.0.1",
    "@ef-carbon/primitive": "^4.9.4",
    "@ef-carbon/tspm": "^2.2.3",
    "@ef-carbon/url": "^2.2.0",
    "@semantic-release/changelog": "^2.1.1",
    "@semantic-release/git": "5.0.0",
    "@types/jest": "^23.1.5",
    "codecov": "^3.0.4",
    "commitizen": "^2.10.1",
    "cz-conventional-changelog": "^2.1.0",
    "husky": "^1.0.0-rc.13",
    "jest": "^23.4.0",
    "jest-junit-reporter": "^1.1.0",
    "opn-cli": "^3.1.0",
    "replace-in-file": "^3.4.0",
    "rollup": "^0.62.0",
    "semantic-release": "^15.7.1",
    "ts-jest": "22.4.2",
    "tslint": "^5.10.0",
    "typedoc": "^0.11.1",
    "typescript": "^2.9.2",
    "typescript-formatter": "^7.2.2",
    "yaml-lint": "^1.2.4"
  },
  "config": {
    "commitizen": {
      "path": "cz-conventional-changelog"
    }
  },
  "jest": {
    "globals": {
      "ts-jest": {
        "tsConfigFile": "test/tsconfig.json",
        "enableTsDiagnostics": true
      }
    },
    "moduleFileExtensions": [
      "ts",
      "js"
    ],
    "transform": {
      "^.+\\.(ts|tsx)$": "./node_modules/ts-jest/preprocessor.js"
    },
    "testMatch": [
      "**/test/**/*.test.(ts|js)"
    ],
    "testEnvironment": "node",
    "moduleNameMapper": {
      "^@test(.*)$": "<rootDir>/test$1",
      "^@lib(.*)$": "<rootDir>/lib$1",
      "^@node(.*)$": "<rootDir>/lib/node$1",
      "^@track(.*)$": "<rootDir>/lib/track$1",
      "^@media(.*)$": "<rootDir>/lib/media$1"
    }
  }
}
