{ "_from": "react-intl@2.7.2", "_id": "react-intl@2.7.2", "_inBundle": false, "_integrity": "sha512-3dcNGLqEw2FKkX+1L2WYLgjP0MVJkvWuVd1uLcnwifIQe8JQvnd9Bss4hb4Gvg/YhBIRcs4LM6C2bAgyklucjw==", "_location": "/react-intl", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "react-intl@2.7.2", "name": "react-intl", "escapedName": "react-intl", "rawSpec": "2.7.2", "saveSpec": null, "fetchSpec": "2.7.2" }, "_requiredBy": [ "/umi-plugin-locale" ], "_resolved": "https://registry.npmjs.org/react-intl/-/react-intl-2.7.2.tgz", "_shasum": "efe97e3fc0e99b4e88a6e6150854d3d1852a4381", "_spec": "react-intl@2.7.2", "_where": "/var/lib/jenkins/workspace/cawg-app-h5/node_modules/umi-plugin-locale", "author": { "name": "Eric Ferraiuolo", "email": "edf@ericf.me" }, "browser": { "./locale-data/index": false, "./locale-data/index.js": false }, "browserify-shim": { "react": "global:React" }, "bugs": { "url": "https://github.com/yahoo/react-intl/issues" }, "bundleDependencies": false, "contributors": [ { "name": "Caridy Patino", "email": "caridy@gmail.com" } ], "dependencies": { "hoist-non-react-statics": "^2.5.5", "intl-format-cache": "^2.0.5", "intl-messageformat": "^2.1.0", "intl-relativeformat": "^2.1.0", "invariant": "^2.1.1" }, "deprecated": false, "description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.", "devDependencies": { "babel-cli": "^6.2.0", "babel-eslint": "^7.1.1", "babel-jest": "^19.0.0", "babel-plugin-external-helpers": "^6.18.0", "babel-plugin-react-intl": "^2.0.0", "babel-plugin-transform-async-to-generator": "^6.16.0", "babel-plugin-transform-class-properties": "^6.11.5", "babel-plugin-transform-es2015-modules-commonjs": "^6.18.0", "babel-plugin-transform-es3-member-expression-literals": "^6.3.13", "babel-plugin-transform-es3-property-literals": "^6.3.13", "babel-plugin-transform-object-rest-spread": "^6.1.18", "babel-plugin-transform-react-remove-prop-types": "^0.3.2", "babel-preset-es2015": "^6.1.18", "babel-preset-react": "^6.1.18", "babelify": "^7.2.0", "benchmark": "^2.1.0", "browserify": "^14.0.0", "browserify-shim": "^3.8.11", "cross-env": "^4.0.0", "eslint": "^3.10.2", "eslint-plugin-react": "^7.0.1", "expect": "^1.9.0", "expect-jsx": "^3.0.0", "express": "^4.13.3", "formatjs-extract-cldr-data": "^4.0.0", "glob": "^7.0.0", "intl": "^1.2.1", "intl-messageformat-parser": "^1.2.0", "jest": "^19.0.0", "mkdirp": "^0.5.1", "prettier": "^1.6.1", "prop-types": "^15.5.4", "react": "^15.5.4", "react-dom": "^15.5.4", "react-test-renderer": "^15.5.4", "rimraf": "^2.4.2", "rollup": "^0.50.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-commonjs": "^8.2.1", "rollup-plugin-memory": "^2.0.0", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-uglify": "^2.0.0", "serialize-javascript": "^1.1.1", "superagent": "^3.0.0", "watchify": "^3.7.0" }, "homepage": "https://github.com/yahoo/react-intl", "jest": { "testRegex": "/test/(unit|functional)/.*\\.js", "testPathIgnorePatterns": [ "/test/functional/support/" ], "collectCoverageFrom": [ "src/**/*.js", "!src/en.js" ], "coverageReporters": [ "lcov", "text", "text-summary", "html" ], "coverageThreshold": { "global": { "branches": 85, "functions": 100, "lines": 95, "statements": 95 } } }, "jsnext:main": "./lib/index.es.js", "keywords": [ "intl", "i18n", "internationalization", "locale", "localization", "globalization", "react", "reactjs", "format", "formatting", "translate", "translation" ], "license": "BSD-3-Clause", "main": "./lib/index.js", "module": "./lib/index.es.js", "name": "react-intl", "peerDependencies": { "prop-types": "^15.5.4", "react": "^0.14.9 || ^15.0.0 || ^16.0.0" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/yahoo/react-intl.git" }, "scripts": { "build": "npm run build:data && npm run build:lib && npm run build:dist", "build:data": "babel-node scripts/build-data", "build:dist": "npm run build:dist:dev && npm run build:dist:prod", "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:lib": "rollup -c rollup.config.lib.js", "clean": "rimraf src/en.js coverage/ dist/ lib/ locale-data/ test/renderer.js", "examples:install": "babel-node scripts/examples npm install", "examples:link": "npm link && babel-node scripts/examples npm link react-intl", "format": "prettier --write --single-quote --trailing-comma=es5 --bracket-spacing false *.js scripts/*.js src/{*.js,**/*.js}", "lint": "eslint .", "lint:fix": "eslint . --fix", "prepare": "npm run clean && npm run build", "preversion": "npm run clean && npm run build && npm run test:all", "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", "react:clean": "rimraf node_modules/{react,react-dom,react-addons-test-utils}", "test": "jest --coverage --verbose", "test:all": "npm run lint && npm run test && npm run test:react", "test:perf": "cross-env NODE_ENV=production babel-node test/perf", "test:react": "npm run react:14 && jest && npm run react:15 && jest", "test:watch": "jest --watch" }, "version": "2.7.2" }