{
  "name": "@sozialhelden/ietf-language-tags",
  "private": false,
  "version": "5.4.2",
  "license": "MIT",
  "module": "dist/mjs/index.js",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/cjs/index.d.ts",
        "default": "./dist/cjs/index.js"
      }
    }
  },
  "types": "./types/index.d.ts",
  "main": "./cjs/index.cjs",
  "author": "Sebastian Felix Zappe <sebastian@sozialhelden.de>",
  "repository": "sozialhelden/ietf-language-tags",
  "files": [
    "dist"
  ],
  "deprecated": false,
  "description": "Helps you working with IETF language tags as specified by BCP 47 / RFC 5646.",
  "devDependencies": {
    "@babel/parser": "^7.8.4",
    "@babel/preset-env": "^7.8.4",
    "@babel/preset-typescript": "^7.8.3",
    "@babel/runtime": "^7.8.4",
    "@babel/types": "^7.8.3",
    "@types/jest": "^27.5.0",
    "@types/lodash.compact": "^3.0.7",
    "babel-jest": "^29.3.1",
    "coveralls": "^3.0.9",
    "cross-env": "^5.2.1",
    "eslint": "^8.13.0",
    "eslint-config-airbnb": "^19.0.4",
    "eslint-config-airbnb-typescript": "^17.0.0",
    "eslint-plugin-import": "^2.26.0",
    "jest": "^29.3.1",
    "jest-cli": "^28.0.3",
    "language-subtag-registry": "^0.3.20",
    "rimraf": "^2.7.1",
    "ts-jest": "^29.0.3"
  },
  "scripts": {
    "build:esm": "tsc -m es2020 --target esnext --outDir dist/esm && echo '{ \"type\": \"module\" }' > dist/esm/package.json",
    "build:cjs": "tsc -m commonjs --target esnext --outDir dist/cjs && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json",
    "build:copy-json": "cp -r ./node_modules/language-subtag-registry/data/json ./src",
    "build:compile-json": "find src/json/*.json | xargs -I {} sh -c 'printf \"// @ts-ignore\nexport default \" > {}.ts && cat {} >> {}.ts && rm {}'",
    "build": "rimraf dist && npm run build:copy-json && npm run build:compile-json && npm run build:cjs && npm run build:esm",
    "start": "tsc -w",
    "test": "jest",
    "lint": "eslint",
    "test:watch": "jest --watch",
    "test:prod": "npm run lint && npm run test -- --coverage --no-cache",
    "deploy-docs": "ts-node tools/gh-pages-publish",
    "report-coverage": "cat ./coverage/lcov.info | coveralls",
    "format": "eslint --fix src/**/*.ts",
    "deploy": "npm run build && npm publish --access public"
  },
  "dependencies": {
    "lodash.compact": "^3.0.1",
    "typescript": "^4.9.3"
  }
}
