babel-plugin-i18next-extract
Version:
Statically extract translation keys from i18next application.
97 lines (96 loc) • 3.03 kB
JSON
{
"name": "babel-plugin-i18next-extract",
"version": "1.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.28.0",
"@babel/types": "7.28.0",
"deepmerge": "^4.3.1",
"i18next": "^25.3.1",
"json-stable-stringify": "^1.3.0"
},
"devDependencies": {
"@babel/cli": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@eslint/js": "^9.30.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^16.0.1",
"@types/babel__core": "^7.20.5",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^30.0.0",
"@types/jest-expect-message": "^1.1.0",
"@types/json-stable-stringify": "^1.2.0",
"@types/node": "^24.0.10",
"@typescript-eslint/eslint-plugin": "^8.35.1",
"@typescript-eslint/parser": "^8.35.1",
"copyfiles": "^2.4.1",
"eslint": "^9.30.1",
"eslint-config-prettier": "^10.1.5",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.1",
"fs-extra": "^11.3.0",
"globals": "^16.3.0",
"jest": "^30.0.4",
"jest-expect-message": "^1.1.3",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"rollup": "^4.44.2",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.35.1"
},
"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.9.2"
}