react-intl

v3.0.0-beta-2
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...

lint

eslint .

test

jest --coverage --verbose

build

yarn run build:data && yarn run build:lib && yarn run build:dist

clean

rimraf src/en.js coverage/ dist/ lib/ locale-data/ test/renderer.js

format

prettier --write --single-quote --trailing-comma=es5 --bracket-spacing false *.js scripts/*.js src/{*.js,**/*.js}

prepare

yarn run clean && yarn run build

lint:fix

eslint . --fix

test:all

yarn run lint && yarn run test && yarn run test:react

build:lib

rollup -c rollup.config.lib.js

test:perf

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

build:data

babel-node scripts/build-data

build:dist

yarn run build:dist:dev && yarn run build:dist:prod

preversion

yarn run clean && yarn run build && yarn run test:all

test:react

jest

test:watch

jest --watch

examples:link

yarn link && babel-node scripts/examples yarn link react-intl

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

examples:install

babel-node scripts/examples yarn install

Metadata

Downloads