UNPKG

@nexim/localizer

Version:

Lightweight i18n utilities to handle translations, number formatting, date/time localization using native browser APIs.

118 lines (117 loc) 2.81 kB
{ "name": "@nexim/localizer", "version": "1.1.1", "description": "Lightweight i18n utilities to handle translations, number formatting, date/time localization using native browser APIs.", "keywords": [ "localization", "internationalization", "i18n", "l10n", "localizer", "localization-helper", "i18n-helper", "typescript", "nexim" ], "homepage": "https://github.com/the-nexim/nanolib/tree/next/packages/localizer#readme", "bugs": { "url": "https://github.com/the-nexim/nanolib/issues" }, "repository": { "type": "git", "url": "https://github.com/the-nexim/nanolib", "directory": "packages/localizer" }, "license": "AGPL-3.0-only", "author": "S. Amir Mohammad Najafi <njfamirm@gmail.com> (https://www.njfamirm.ir)", "contributors": [], "type": "module", "exports": { ".": { "types": "./dist/main.d.ts", "import": "./dist/main.mjs", "require": "./dist/main.cjs" } }, "main": "./dist/main.cjs", "module": "./dist/main.mjs", "types": "./dist/main.d.ts", "files": [ "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}", "LICENSE", "!**/*.test.js" ], "scripts": { "build": "wireit", "doc": "wireit", "test": "wireit", "watch": "wireit" }, "dependencies": { "@alwatr/logger": "^5.5.3", "@alwatr/package-tracer": "^5.5.3", "@alwatr/unicode-digits": "^5.5.3" }, "devDependencies": { "@alwatr/nano-build": "^5.5.3", "@alwatr/type-helper": "^5.4.1", "@nexim/typescript-config": "^2.0.1", "ava": "^6.4.0", "typedoc": "^0.28.5", "typedoc-plugin-markdown": "^4.6.4", "typedoc-plugin-no-inherit": "^1.6.1", "typescript": "^5.8.3", "wireit": "^0.14.12" }, "publishConfig": { "access": "public" }, "nano-build": { "platform": "browser" }, "wireit": { "test": { "command": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" ava" }, "build": { "dependencies": [ "build:type", "build:es" ] }, "build:es": { "command": "yarn nano-build --preset=module", "files": [ "src", "tsconfig.json" ], "clean": "if-file-deleted", "output": [ "dist", "tsconfig.tsbuildinfo" ] }, "build:type": { "command": "tsc --build" }, "watch": { "dependencies": [ "watch:ts" ] }, "watch:ts": { "command": "tsc --build --watch --preserveWatchOutput", "dependencies": [ "watch:es" ] }, "watch:es": { "command": "yarn nano-build --preset=module -- --watch", "service": true }, "doc": { "command": "typedoc" } }, "gitHead": "5ef8529640812bdac227ccd0d1abda7789d4d732" }