react-intl

v2.5.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...

lint

eslint .

test

jest --coverage --verbose

build

npm run build:data && npm run build:lib && npm 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

npm run clean && npm run build

lint:fix

eslint . --fix

react:14

npm run react:clean && npm i react@^0.14 react-dom@^0.14 react-addons-test-utils@^0.14

react:15

npm run react:clean && npm i react@^15 react-dom@^15

test:all

npm run lint && npm run test && npm 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

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

preversion

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

test:react

npm run react:14 && jest && npm run react:15 && jest

test:watch

jest --watch

react:clean

rimraf node_modules/{react,react-dom,react-addons-test-utils}

examples:link

npm link && babel-node scripts/examples npm 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 npm install

Metadata

Downloads