react-intl
Version:
Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.
134 lines (133 loc) • 4.65 kB
JSON
{
"name": "react-intl",
"version": "3.4.0",
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.",
"keywords": [
"intl",
"i18n",
"internationalization",
"locale",
"localization",
"globalization",
"react",
"reactjs",
"format",
"formatting",
"translate",
"translation"
],
"author": "Eric Ferraiuolo <edf@ericf.me>",
"contributors": [
"Caridy Patino <caridy@gmail.com>",
"Marces Engel <dev.dragonraider5@gmail.com>"
],
"license": "BSD-3-Clause",
"homepage": "https://github.com/formatjs/react-intl",
"bugs": {
"url": "https://github.com/formatjs/react-intl/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:formatjs/react-intl.git"
},
"main": "./dist/index.js",
"module": "./lib/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"dependencies": {
"@formatjs/intl-relativetimeformat": "^4.2.1",
"@formatjs/intl-unified-numberformat": "^2.1.0",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/invariant": "^2.2.30",
"hoist-non-react-statics": "^3.3.0",
"intl-format-cache": "^4.2.3",
"intl-locales-supported": "^1.6.0",
"intl-messageformat": "^7.3.3",
"intl-messageformat-parser": "^3.2.2",
"invariant": "^2.1.1",
"shallow-equal": "^1.1.0"
},
"peerDependencies": {
"react": "^16.3.0"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/node": "^7.6.3",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@formatjs/intl-pluralrules": "^1.3.1",
"@types/benchmark": "^1.0.31",
"@types/enzyme": "^3.10.3",
"@types/jest": "^24.0.19",
"@types/prop-types": "^15.7.3",
"@types/react": "^16.9.9",
"@types/react-dom": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"babel-jest": "^24.9.0",
"benchmark": "^2.1.0",
"core-js": "^3.3.3",
"cross-env": "^6.0.3",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.15.1",
"enzyme-to-json": "^3.4.3",
"eslint": "^6.5.1",
"eslint-plugin-react": "^7.16.0",
"fs-extra": "^8.1.0",
"full-icu": "^1.3.0",
"glob": "^7.1.5",
"jest": "^24.9.0",
"markdown-toc": "^1.2.0",
"mkdirp": "^0.5.1",
"parcel": "^1.12.4",
"pre-commit": "^1.2.2",
"prettier": "^1.6.1",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"rimraf": "^3.0.0",
"rollup": "^1.25.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-typescript2": "^0.24.3",
"rollup-plugin-uglify": "^6.0.3",
"standard-version": "^7.0.0",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"tslib": "^1.9.3",
"typescript": "~3.3.0"
},
"scripts": {
"benchmark": "cross-env NODE_ENV=production TS_NODE_PROJECT=./tsconfig.cjs.json ts-node test/perf/index.tsx",
"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",
"build:dist": "npm run build:dist:dev && npm run build:dist:prod",
"build:lib": "tsc -p src/tsconfig.json && tsc -p src/tsconfig.cjs.json",
"build": "npm run build:lib && npm run build:dist",
"clean": "rimraf coverage/ dist/ lib/ core.js core.d.ts",
"example": "parcel examples/index.html",
"format:fix": "prettier --write */*.{js,md,jsx,ts,tsx} */**/*.{js,md,jsx,ts,tsx}",
"format": "npm run format:fix -- --check",
"lint:fix": "eslint . --fix",
"lint": "eslint .",
"postchangelog": "npm run toc && npm run format:fix",
"prerelease": "npm run clean && npm run build && npm run test:all",
"release": "standard-version",
"test:all": "npm run lint && npm run format && npm run test",
"test:perf": "cross-env NODE_ENV=production babel-node test/perf",
"test:watch": "cross-env NODE_ICU_DATA=./node_modules/full-icu jest --watch",
"test": "cross-env NODE_ICU_DATA=./node_modules/full-icu jest --coverage --verbose",
"toc": "node scripts/toc"
},
"pre-commit": [
"toc",
"format:fix",
"lint:fix"
],
"browserslist": [
"ie 11"
]
}