react-intl

v3.4.0
Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.
intl i18n internationalization locale localization globalization react reactjs format and 4 more...

toc

node scripts/toc

lint

eslint .

test

cross-env NODE_ICU_DATA=./node_modules/full-icu jest --coverage --verbose

build

npm run build:lib && npm run build:dist

clean

rimraf coverage/ dist/ lib/ core.js core.d.ts

format

npm run format:fix -- --check

example

parcel examples/index.html

release

standard-version

lint:fix

eslint . --fix

test:all

npm run lint && npm run format && npm run test

benchmark

cross-env NODE_ENV=production TS_NODE_PROJECT=./tsconfig.cjs.json ts-node test/perf/index.tsx

build:lib

tsc -p src/tsconfig.json && tsc -p src/tsconfig.cjs.json

test:perf

cross-env NODE_ENV=production babel-node test/perf

build:dist

npm run build:dist:dev && npm run build:dist:prod

format:fix

prettier --write */*.{js,md,jsx,ts,tsx} */**/*.{js,md,jsx,ts,tsx}

prerelease

npm run clean && npm run build && npm run test:all

test:watch

cross-env NODE_ICU_DATA=./node_modules/full-icu jest --watch

postchangelog

npm run toc && npm run format:fix

build:dist:dev

cross-env NODE_ENV=development rollup -c rollup.config.dist.js

build:dist:prod

cross-env NODE_ENV=production rollup -c rollup.config.dist.js

Metadata

Downloads