UNPKG

@hyperse/translator

Version:

Translates messages from the given namespace by using the ICU syntax.

80 lines (79 loc) 1.96 kB
{ "name": "@hyperse/translator", "version": "1.2.4", "description": "Translates messages from the given namespace by using the ICU syntax.", "keywords": [ "hyperse", "ICU", "translator" ], "repository": { "type": "git", "url": "git@github.com:hyperse-io/translator.git" }, "main": "./dist/index.mjs", "files": [ "./bin/", "./dist/", "./index.js" ], "scripts": { "build": "tsup", "changeset": "changeset", "cz": "cz", "lint": "eslint .", "lint-staged-files": "lint-staged --allow-empty", "prepare": "husky", "release": "yarn build && changeset publish", "test": "vitest run", "test:coverage": "vitest run --coverage", "typecheck": "tsc --project ./tsconfig.json --noEmit" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "resolutions": { "vite": "7.0.0-beta.1" }, "dependencies": { "@formatjs/fast-memoize": "^2.2.7", "intl-messageformat": "^10.7.16" }, "devDependencies": { "@changesets/changelog-github": "^0.5.1", "@changesets/cli": "^2.29.4", "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@hyperse/eslint-config-hyperse": "^1.4.5", "@hyperse/ts-node-paths": "^1.0.12", "@types/node": "^24.0.1", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@vitejs/plugin-react": "^4.5.2", "@vitest/coverage-istanbul": "^3.2.3", "commitizen": "^4.3.1", "cz-conventional-changelog": "^3.3.0", "dotenv": "^16.5.0", "eslint": "^9.29.0", "husky": "^9.1.7", "lint-staged": "^16.1.0", "react": "^19.1.0", "react-dom": "^19.1.0", "tsup": "^8.5.0", "typescript": "^5.8.3", "vite": "^6.3.5", "vitest": "^3.2.3" }, "peerDependencies": { "react": "*" }, "packageManager": "yarn@4.9.2", "engines": { "node": ">=18" }, "publishConfig": { "access": "public" } }