UNPKG

intl-t

Version:

A Fully-Typed Object-Based i18n Translation Library

125 lines (124 loc) 2.89 kB
{ "name": "intl-t", "description": "A Fully-Typed Object-Based i18n Translation Library", "version": "1.2.0", "type": "module", "license": "MIT", "homepage": "https://intl-t.dev", "repository": { "type": "git", "url": "git+https://github.com/nivandres/intl-t" }, "workspaces": { "packages": [ ".", "apps/*", "assets", "packages/*" ] }, "scripts": { "start": "tsc --noEmit --watch", "start:app": "bun run --filter 'intl-t-*' start", "dev": "bun run test:watch", "dev:app": "bun run --filter 'intl-t-*' dev", "build": "tsc -b tsconfig.build.json", "build:app": "bun run --filter 'intl-t-*' build", "test": "bun test", "test:watch": "bun test --watch", "test:coverage": "bun test --coverage", "clean": "tsc -b --clean tsconfig.build.json", "format": "prettier --write .", "format:check": "bun run format --check", "lint": "oxlint --fix", "typecheck": "tsc", "check": "bun run format && bun run lint && bun run typecheck", "prepare": "bun husky", "bump": "bun run --filter '@intl-t/*' bump", "prepublishOnly": "bun run build", "release": "bun run --filter '@intl-t/*' release" }, "keywords": [ "translation", "i18n", "intl", "typescript", "react", "node", "nodes", "object-based", "node-based", "translate", "formatter", "tree", "next", "next.js" ], "author": { "name": "Ivan Vargas", "email": "nivnnd@gmail.com", "url": "https://nivan.dev" }, "files": [ "dist/*" ], "sideEffects": false, "engines": { "node": ">=18" }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./*": { "types": "./dist/*.d.ts", "default": "./dist/*.js" } }, "lint-staged": { "*.{json,md,js,ts,tsx}": "prettier --check", "*.{js,ts,tsx}": "oxlint" }, "dependencies": { "@intl-t/core": "1.2.0", "@intl-t/declarations": "1.2.0", "@intl-t/format": "1.2.0", "@intl-t/locales": "1.2.0", "@intl-t/next": "1.2.0", "@intl-t/react": "1.2.0", "@intl-t/utils": "1.2.0" }, "devDependencies": { "@trivago/prettier-plugin-sort-imports": "^6.0.2", "@types/bun": "^1.3.12", "@types/react": "^19", "husky": "^9.1.7", "lint-staged": "^16.4.0", "next": "^16", "oxlint": "^1.59.0", "prettier": "^3.8.1", "react": "^19", "typescript": "^6" }, "peerDependencies": { "next": ">=14", "react": ">=18 <20", "typescript": ">=5" }, "peerDependenciesMeta": { "typescript": { "optional": true }, "react": { "optional": true }, "next": { "optional": true } }, "packageManager": "bun@1.3.0" }