{
  "name": "next-translate",
  "version": "2.6.2",
  "description": "Tiny and powerful i18n tools (Next plugin + API) to translate your Next.js pages.",
  "license": "MIT",
  "keywords": [
    "react",
    "preact",
    "i18n",
    "nextjs",
    "next.js",
    "next",
    "plugin",
    "translate",
    "translation",
    "internationalization",
    "locale",
    "locales",
    "globalization"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/aralroca/next-translate.git"
  },
  "author": {
    "name": "Aral Roca Gòmez",
    "email": "contact@aralroca.com"
  },
  "main": "./lib/cjs/index.js",
  "module": "./lib/esm/index.js",
  "types": "./index.d.ts",
  "files": [
    "lib",
    "appWithI18n*",
    "DynamicNamespaces*",
    "I18nProvider*",
    "context*",
    "getT*",
    "loadNamespaces*",
    "Trans*",
    "withTranslation*",
    "useTranslation*",
    "setLanguage*",
    "index*",
    "AppDirI18nProvider*",
    "createTranslation*"
  ],
  "scripts": {
    "build": "yarn clean && cross-env NODE_ENV=production && yarn tsc",
    "clean": "yarn clean:build && yarn clean:examples",
    "clean:build": "del lib appWith* Dynamic* I18n* index context loadNa* setLang* Trans* useT* withT* getP* getC* *.d.ts getT transC* wrapT* types formatElements AppDirI18nProvider* createTrans*",
    "clean:examples": "del examples/**/.next examples/**/node_modules examples/**/yarn.lock",
    "example": "yarn example:complex",
    "example:basic": "yarn build && yarn --cwd examples/basic && yarn --cwd examples/basic dev",
    "example:complex": "yarn build && yarn --cwd examples/complex && yarn --cwd examples/complex dev",
    "example:with-app-directory": "yarn build && yarn --cwd examples/with-app-directory && yarn --cwd examples/with-app-directory dev",
    "example:without-loader": "yarn build && yarn --cwd examples/without-loader && yarn --cwd examples/without-loader dev",
    "format": "pretty-quick",
    "husky": "pretty-quick --staged && yarn test",
    "prepare": "husky install",
    "prepublish": "yarn test && yarn build",
    "test": "cross-env NODE_ENV=test jest --env=jsdom",
    "test:coverage": "cross-env NODE_ENV=test jest --env=jsdom --coverage",
    "test:watch": "cross-env NODE_ENV=test jest --env=jsdom --watch",
    "tsc": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node build-packages.js"
  },
  "devDependencies": {
    "@babel/cli": "7.22.5",
    "@babel/core": "7.22.5",
    "@babel/preset-env": "7.22.5",
    "@babel/preset-typescript": "7.22.5",
    "@testing-library/react": "13.4.0",
    "@types/jest": "29.5.2",
    "@types/node": "20.3.1",
    "@types/react": "18.2.13",
    "@types/react-dom": "18.2.6",
    "@types/webpack": "5.28.1",
    "babel-jest": "29.5.0",
    "babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
    "babel-preset-minify": "0.5.2",
    "cross-env": "7.0.3",
    "del-cli": "^5.0.0",
    "express": "4.18.2",
    "husky": "7.0.4",
    "jest": "27.3.1",
    "next": "13.4.7",
    "next-router-mock": "0.9.6",
    "prettier": "2.8.8",
    "pretty-quick": "3.1.3",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "supertest": "6.3.3",
    "typescript": "5.1.3"
  },
  "peerDependencies": {
    "next": ">= 13.2.5",
    "react": ">= 18.0.0"
  },
  "prettier": {
    "trailingComma": "es5",
    "tabWidth": 2,
    "semi": false,
    "singleQuote": true
  },
  "engines": {
    "node": ">=16.10.0"
  },
  "jest": {
    "roots": [
      "<rootDir>/__tests__",
      "<rootDir>/src"
    ],
    "setupFilesAfterEnv": [
      "<rootDir>/jest.setup.js"
    ],
    "testPathIgnorePatterns": [
      "/node_modules/",
      ".utils.js"
    ],
    "transform": {
      "^.+\\.(j|t)sx?$": "babel-jest"
    }
  }
}
