UNPKG

babel-plugin-i18next-extract

Version:

Statically extract translation keys from i18next application.

97 lines (96 loc) 3.17 kB
{ "name": "babel-plugin-i18next-extract", "version": "1.0.0", "description": "Statically extract translation keys from i18next application.", "engines": { "node": ">=10.0.0" }, "repository": { "type": "git", "url": "git+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.26.0", "@babel/types": "7.26.3", "deepmerge": "^4.3.1", "i18next": "^24.0.5", "json-stable-stringify": "^1.1.1" }, "devDependencies": { "@babel/cli": "^7.26.4", "@babel/preset-env": "^7.26.0", "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.26.0", "@eslint/js": "^9.16.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-node-resolve": "^15.3.0", "@types/babel__core": "^7.20.5", "@types/fs-extra": "^11.0.4", "@types/jest": "^29.5.14", "@types/jest-expect-message": "^1.1.0", "@types/json-stable-stringify": "^1.1.0", "@types/node": "^22.10.1", "@typescript-eslint/eslint-plugin": "^8.17.0", "@typescript-eslint/parser": "^8.17.0", "copyfiles": "^2.4.1", "eslint": "^9.16.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.7.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.1", "fs-extra": "^11.2.0", "globals": "^15.13.0", "jest": "^29.7.0", "jest-expect-message": "^1.1.3", "prettier": "^3.4.2", "rimraf": "^6.0.1", "rollup": "^4.28.1", "tslib": "^2.8.1", "typescript": "^5.7.2", "typescript-eslint": "^8.17.0" }, "scripts": { "lint": "eslint 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.5.3+sha512.3003a14012e2987072d244c720506549c1aab73ee728208f1b2580a9fd67b92d61ba6b08fe93f6dce68fd771e3af1e59a0afa28dd242dd0940d73b95fedd4e90" }