UNPKG

@phensley/cldr

Version:

Internationalization in Typescript with Unicode CLDR, batteries included

114 lines 3.73 kB
{ "name": "@phensley/cldr", "version": "1.12.2", "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.12.2", "@phensley/cldr-utils": "~1.12.2", "@phensley/messageformat": "~1.12.2", "tslib": "^2.8.1" }, "devDependencies": { "@microsoft/api-extractor": "~7.52.3", "@phensley/cldr-compiler": "~1.12.2", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@types/jest": "^29.5.14", "@types/node": "^22.14.0", "@typescript-eslint/eslint-plugin": "^8.29.0", "@typescript-eslint/parser": "^8.29.0", "add": "^2.0.6", "beautify-benchmark": "^0.2.4", "benchmark": "^2.1.4", "chalk": "^4.1.2", "dts-bundle-generator": "^9.5.1", "eslint": "^8.57.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-prettier": "^5.2.6", "jest": "^29.7.0", "pnpm": "^10.7.1", "prettier": "^3.5.3", "rimraf": "^6.0.1", "rollup": "^4.39.0", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-filesize": "^10.0.0", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-typescript2": "^0.36.0", "source-map-explorer": "^2.5.3", "ts-jest": "^29.3.1", "ts-node": "^10.9.2", "typescript": "~5.8.3" }, "jest": { "moduleFileExtensions": [ "js", "ts", "tsx" ], "testMatch": [ "**/__tests__/**/*.test.ts" ], "transform": { "^.+\\.(ts|tsx)$": "ts-jest" } }, "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", "build:rollup": "NODE_ENV=production rollup --bundleConfigAsCjs -c && pnpm run build:rollup-dts && rimraf dist/src && pnpm run build:rollup-report", "build:rollup-report": "source-map-explorer --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": "TZ=America/New_York jest --coverage --runInBand --no-cache", "off-install": "node ./scripts/extract.js", "lint": "eslint -c .eslintrc.js --ext .ts src __stress__ __tests__", "prepublish": "pnpm run build", "stress": "ts-node ./__stress__", "test": "TZ=America/New_York jest", "test:watch": "TZ=America/New_York jest --watch --coverage --coverageReporters=html" } }