{
  "name": "uom",
  "version": "6.1.0",
  "main": "lib-cjs/index.js",
  "module": "lib-esm/index.js",
  "types": "lib-cjs/index",
  "description": "Extensible unit of measure conversion with type safety for typescript",
  "author": "jonas.kello@divid.se",
  "repository": "https://github.com/dividab/uom",
  "license": "MIT",
  "files": [
    "/lib-cjs",
    "/lib-esm",
    "/src",
    "package.json",
    "CHANGELOG.md",
    "LICENSE",
    "README.md"
  ],
  "devDependencies": {
    "@types/jest": "^26.0.15",
    "@types/node": "^12.7.11",
    "@typescript-eslint/eslint-plugin": "^4.5.0",
    "@typescript-eslint/parser": "^4.5.0",
    "codecov": "^3.8.0",
    "confusing-browser-globals": "^1.0.9",
    "eslint": "^7.11.0",
    "eslint-config-divid": "^0.5.1",
    "eslint-plugin-functional": "^3.1.0",
    "eslint-plugin-import": "^2.22.1",
    "husky": "^4.3.0",
    "jest": "^26.6.0",
    "jsdoc-to-markdown": "^5.0.1",
    "lint-staged": "^10.4.2",
    "prettier": "^2.1.2",
    "rimraf": "^2.6.2",
    "ts-jest": "^26.4.1",
    "typescript": "^4.0.3"
  },
  "scripts": {
    "lint": "eslint './{src,test}/**/*.ts' --ext .ts -f visualstudio ",
    "build": "yarn clean && yarn build:cjs && yarn build:esm && yarn gen-docs",
    "clean": "rm -rf ./lib-cjs ./lib-esm",
    "build:cjs": "tsc -p src",
    "build:esm": "tsc -p src --module es2015 --moduleResolution node --outDir ./lib-esm",
    "test": "jest --no-coverage",
    "verify": "yarn lint && yarn build && yarn test-coverage",
    "test-coverage": "jest",
    "report-coverage": "codecov -f coverage/lcov.info",
    "gen-docs": "jsdoc2md --partial docs/scope.hbs --files lib-esm/serialize.js lib-esm/unit-map.js lib-esm/amount.js lib-esm/unit.js > docs/api.md",
    "preversion": "git checkout master && git pull && yarn test && yarn build",
    "postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push --follow-tags && echo \"Successfully released version $npm_package_version!\""
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{ts,tsx}": "eslint --ext .ts -f visualstudio",
    "*.{ts,tsx,json,css}": [
      "prettier --write",
      "git add"
    ]
  }
}
