intl-t
Version:
A Fully-Typed Node-Based i18n Translation Library
125 lines (124 loc) • 2.9 kB
JSON
{
"name": "intl-t",
"description": "A Fully-Typed Node-Based i18n Translation Library",
"version": "1.0.0-rc.93",
"type": "module",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"homepage": "https://github.com/nivandres/intl-t#readme",
"repository": {
"url": "https://github.com/nivandres/intl-t",
"type": "git"
},
"scripts": {
"start": "bun tsc --noEmit --watch",
"dev": "bun run test:watch",
"build": "bun tsc",
"test": "bun test",
"test:watch": "bun test --watch",
"format": "bun prettier --write .",
"lint": "bun oxlint --fix",
"typecheck": "bun tsc --noEmit",
"prepare": "bun husky",
"prepublishOnly": "bun run build"
},
"keywords": [
"translation",
"i18n",
"intl",
"typescript",
"react",
"node",
"nodes",
"node-based",
"translate",
"formatting",
"tree",
"next",
"next.js",
"javascript",
"browser"
],
"author": "Ivan Vargas <nivnnd@gmail.com>",
"license": "MIT",
"bin": {
"declarations": "./dist/bin/declarations.js"
},
"exports": {
".": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./core": {
"default": "./dist/core/index.js",
"types": "./dist/core/index.d.ts"
},
"./next": {
"default": "./dist/next/index.js",
"types": "./dist/next/index.d.ts"
},
"./navigation": {
"default": "./dist/next/navigation.js",
"types": "./dist/next/navigation.d.ts"
},
"./link": {
"default": "./dist/next/link/index.js",
"types": "./dist/next/link/index.d.ts"
},
"./react": {
"default": "./dist/react/index.js",
"types": "./dist/react/index.d.ts"
},
"./patch": {
"default": "./dist/react/patch.js"
},
"./locales": {
"default": "./dist/locales/index.js",
"types": "./dist/locales/index.d.ts"
},
"./tools": {
"default": "./dist/tools/index.js",
"types": "./dist/tools/index.d.ts"
},
"./declarations": {
"default": "./dist/tools/declarations.js",
"types": "./dist/tools/declarations.d.ts"
},
"./types": {
"default": "./dist/types.js",
"types": "./dist/types.d.ts"
}
},
"lint-staged": {
"*.{json,md,js,ts,tsx}": "bunx prettier --check",
"*.{js,ts,tsx}": "bunx oxlint"
},
"devDependencies": {
"@types/bun": "^1.2.0",
"@types/react": "^19",
"husky": "^9",
"lint-staged": "^16.1.2",
"next": "^15",
"oxlint": "^1.1.0",
"prettier": "^3.5.3",
"react": "^19",
"typescript": "^5"
},
"peerDependencies": {
"next": ">=14",
"react": ">=18 <20",
"typescript": "^5"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
},
"react": {
"optional": true
},
"next": {
"optional": true
}
},
"packageManager": "bun@1.2.0"
}