UNPKG

extract-react-intl-messages

Version:
111 lines (110 loc) 2.86 kB
{ "name": "extract-react-intl-messages", "version": "5.0.0", "description": "Extract react-intl messages", "license": "MIT", "repository": "akameco/extract-react-intl-messages", "author": { "name": "akameco", "email": "akameco.t@gmail.com", "url": "https://akameco.github.io" }, "engines": { "node": ">=20" }, "main": "dist/index.js", "scripts": { "fmt": "prettier --write .", "example": "./cli.js -l=en,ja -o example/i18n -d en 'example/**/*.{js,tsx}'", "example:yaml": "./cli.js -l=en,ja -f=yaml -o example/i18n -d en 'example/**/*.{js,tsx}'", "prepublish": "npm run build", "build": "tsc", "lint": "eslint src/**/*.ts --fix --cache", "pretest": "rimraf .test-cache", "test": "jest", "posttest": "rimraf .test-cache" }, "bin": { "extract-messages": "dist/cli.js", "extract-react-intl-messages": "dist/cli.js" }, "files": [ "dist" ], "keywords": [ "react", "i18n", "intl", "react-intl", "extract", "json", "messages" ], "dependencies": { "@babel/core": "^7.9.0", "babel-plugin-react-intl": "^7.0.0", "file-entry-cache": "^5.0.1", "flat": "^5.0.1", "glob": "^7.1.6", "js-yaml": "^3.13.1", "load-json-file": "^6.2.0", "lodash.merge": "^4.6.2", "lodash.mergewith": "^4.6.2", "meow": "^6.1.0", "mkdirp": "^1.0.3", "pify": "^5.0.0", "read-babelrc-up": "^1.1.0", "sort-keys": "^4.0.0", "write-json-file": "^4.3.0" }, "devDependencies": { "@akameco/tsconfig": "^0.4.0", "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/preset-env": "^7.9.0", "@babel/preset-flow": "^7.9.0", "@babel/preset-react": "^7.9.1", "@types/file-entry-cache": "^5.0.0", "@types/flat": "^5.0.0", "@types/glob": "^7.1.1", "@types/jest": "^25.1.4", "@types/js-yaml": "^3.12.2", "@types/load-json-file": "^2.0.7", "@types/lodash.merge": "^4.6.6", "@types/lodash.mergewith": "^4.6.6", "@types/lodash.pick": "^4.4.6", "@types/mkdirp": "^1.0.0", "@types/node": "^24.1.0", "@types/pify": "^3.0.2", "@types/temp-write": "^4.0.0", "@types/write-json-file": "^2.2.1", "babel-core": "7.0.0-bridge.0", "babel-plugin-react-intl-auto": "^3.2.0", "eslint": "^9.32.0", "husky": "^4.2.3", "jest": "^30.0.5", "lint-staged": "^10.0.9", "prettier": "^2.0.2", "react": "^16.13.1", "react-intl": "^4.2.2", "rimraf": "^3.0.2", "temp-write": "^4.0.0", "tempy": "^0.5.0", "ts-jest": "^29.4.0", "typescript": "^5.8.3", "typescript-eslint": "^8.38.0" }, "lint-staged": { "*.{ts}": [ "prettier --write", "eslint --fix" ], "*.{js,json,md}": [ "prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }