UNPKG

@phensley/cldr

Version:

Internationalization in Typescript with Unicode CLDR, batteries included

72 lines 2.51 kB
{ "name": "@phensley/cldr", "version": "1.13.1", "description": "Internationalization in Typescript with Unicode CLDR, batteries included", "main": "lib/index.js", "module": "lib-es/index.js", "types": "lib/index.d.ts", "author": "Patrick Hensley <pathensley@gmail.com>", "license": "Apache-2.0", "homepage": "https://github.com/phensley/cldr-engine/", "repository": { "type": "git", "url": "https://github.com/phensley/cldr-engine" }, "keywords": [ "cldr", "unicode", "i18n", "intl", "internationalization", "locale", "math", "arbitrary-precision", "pluralization", "decimal", "globalize" ], "publishConfig": { "access": "public" }, "files": [ "dist/", "lib/", "lib-es/", "packs/*.json", "packs/sha*.txt", "packs/resource.json", "scripts/" ], "dependencies": { "@phensley/cldr-core": "~1.13.1", "@phensley/cldr-utils": "~1.13.1", "@phensley/messageformat": "~1.13.1", "tslib": "^2.8.1" }, "devDependencies": { "@phensley/cldr-compiler": "~1.13.1" }, "scripts": { "api": "api-extractor run -c ./etc/api-extractor.json --verbose", "api:local": "pnpm run api -l", "build": "pnpm run build:cj && pnpm run build:es && pnpm run build:packs && pnpm run build:rollup", "build:cj": "tsc -p ./tsconfig.json", "build:es": "tsc -p ./tsconfig.json --module esnext --outDir lib-es", "build:lint": "tsc -p ./tsconfig.lint.json", "build:packs": "cldr-compiler pack -o ./packs", "build:watch": "tsc -p ./tsconfig.json -w --preserveWatchOutput", "x_build:rollup": "NODE_ENV=production rollup --bundleConfigAsCjs -c && pnpm run build:rollup-dts && rimraf dist/src && pnpm run build:rollup-report", "build:rollup": "NODE_ENV=production rollup --bundleConfigAsCjs -c && rimraf dist/src && pnpm run build:rollup-report", "build:rollup-report": "source-map-explorer --no-border-checks --html -m dist/cldrengine.umd.js dist/cldrengine.umd.js.map >dist/report.html", "build:rollup-dts": "dts-bundle-generator -o ./dist/cldrengine.umd.d.ts src/index.ts", "clean": "rimraf ./lib ./lib-es ./packs ./dist", "clean:full": "pnpm run clean && rimraf ./node_modules", "coverage": "vitest run --coverage", "off-install": "node ./scripts/extract.js", "lint": "eslint src __stress__ __tests__", "prepublish": "pnpm run build", "stress": "ts-node ./__stress__", "test": "vitest --run", "test:watch": "vitest" } }