gilbsgilbs/babel-plugin-i18next-extract

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "babel-plugin-i18next-extract",
  "version": "0.1.0",
  "description": "Statically extract translation keys from i18next application.",
  "engines": {
    "node": ">=10.0.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/gilbsgilbs/babel-plugin-i18next-extract.git"
  },
  "keywords": [
    "babel-plugin",
    "i18next",
    "i18n",
    "translation",
    "react",
    "react-i18next",
    "internationalization",
    "localization"
  ],
  "homepage": "https://i18next-extract.netlify.app/",
  "bugs": {
    "url": "https://github.com/gilbsgilbs/babel-plugin-i18next-extract/issues"
  },
  "author": "Gilbert Gilb's <gilbsgilbert@gmail.com>",
  "license": "MIT",
  "main": "./index.js",
  "module": "./es/index.js",
  "types": "./index.d.ts",
  "files": [
    "*"
  ],
  "dependencies": {
    "@babel/core": "^7.23.3",
    "@babel/types": "7.23.6",
    "deepmerge": "^4.3.1",
    "i18next": "^23.6.0",
    "json-stable-stringify": "^1.0.2"
  },
  "devDependencies": {
    "@babel/cli": "^7.23.0",
    "@babel/preset-env": "^7.23.3",
    "@babel/preset-react": "^7.23.3",
    "@babel/preset-typescript": "^7.23.3",
    "@rollup/plugin-babel": "^6.0.4",
    "@rollup/plugin-node-resolve": "^15.2.3",
    "@types/babel__core": "^7.20.4",
    "@types/fs-extra": "^11.0.4",
    "@types/jest": "^29.5.8",
    "@types/jest-expect-message": "^1.1.0",
    "@types/json-stable-stringify": "^1.0.36",
    "@types/node": "^20.9.0",
    "@typescript-eslint/eslint-plugin": "^6.10.0",
    "@typescript-eslint/parser": "^6.10.0",
    "copyfiles": "^2.4.1",
    "eslint": "^8.53.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-plugin-import": "^2.29.0",
    "eslint-plugin-prettier": "^5.0.1",
    "fs-extra": "^11.1.1",
    "jest": "^29.7.0",
    "jest-expect-message": "^1.1.3",
    "prettier": "^3.0.3",
    "rimraf": "^5.0.5",
    "rollup": "^4.3.0",
    "tslib": "^2.6.2",
    "typescript": "^5.2.2"
  },
  "scripts": {
    "lint": "eslint --ext=.ts,.js,.tsx,.jsx src docs tests rollup.config.mjs",
    "types": "tsc --noEmit",
    "build": "${npm_execpath} run build:clean && ${npm_execpath} run build:skeleton && ${npm_execpath} run build:types && ${npm_execpath} run build:js",
    "build:clean": "rimraf lib/",
    "build:skeleton": "copyfiles package.json README.md LICENSE lib/",
    "build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json",
    "build:js": "rollup -c",
    "test": "jest",
    "check": "${npm_execpath} run lint && ${npm_execpath} run types && ${npm_execpath} run test",
    "release": "${npm_execpath} install && ${npm_execpath} run check && ${npm_execpath} run build && cd lib/ && npm publish --no-git-tag-version"
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx,ts,tsx}"
    ],
    "coverageDirectory": "./coverage/",
    "setupFilesAfterEnv": [
      "jest-expect-message"
    ]
  },
  "packageManager": "yarn@4.0.2"
}