@formatjs/intl-pluralrules

v1.3.0
Polyfill for intl plural rules
polyfill i18n intl plural rules

build

npm run cldr && npm run compile

cldr

ts-node --project tsconfig.cjs.json scripts/cldr

clean

rimraf dist lib dist-es6 polyfill-locales.js

compile

tsc && tsc -p tsconfig.cjs.json && tsc -p tsconfig.es6.json && rollup -c rollup.config.js

jest

cross-env NODE_ICU_DATA=../../node_modules/full-icu TS_NODE_PROJECT=tsconfig.cjs.json cross-env NODE_ENV=test jest

test262

cross-env NODE_ICU_DATA=../../node_modules/full-icu TS_NODE_PROJECT=tsconfig.cjs.json ts-node tests/runner

test

npm run jest && npm run test262
npm i @formatjs/[email protected]

Metadata

  • MIT
  • Whatever
  • Long Ho
  • released 10/1/2019

Downloads