You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.8 KiB
85 lines
2.8 KiB
{
|
|
"_from": "@formatjs/intl-relativetimeformat@^4.5.7",
|
|
"_id": "@formatjs/intl-relativetimeformat@4.5.16",
|
|
"_inBundle": false,
|
|
"_integrity": "sha1-dEnO8yE91m0lkkykHxJfh7WN+Vo=",
|
|
"_location": "/@formatjs/intl-relativetimeformat",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "@formatjs/intl-relativetimeformat@^4.5.7",
|
|
"name": "@formatjs/intl-relativetimeformat",
|
|
"escapedName": "@formatjs%2fintl-relativetimeformat",
|
|
"scope": "@formatjs",
|
|
"rawSpec": "^4.5.7",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^4.5.7"
|
|
},
|
|
"_requiredBy": [
|
|
"/@umijs/plugin-locale",
|
|
"/react-intl"
|
|
],
|
|
"_resolved": "https://registry.npm.taobao.org/@formatjs/intl-relativetimeformat/download/@formatjs/intl-relativetimeformat-4.5.16.tgz?cache=0&sync_timestamp=1597716803513&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40formatjs%2Fintl-relativetimeformat%2Fdownload%2F%40formatjs%2Fintl-relativetimeformat-4.5.16.tgz",
|
|
"_shasum": "7449cef3213dd66d25924ca41f125f87b58df95a",
|
|
"_spec": "@formatjs/intl-relativetimeformat@^4.5.7",
|
|
"_where": "/Users/zq/Desktop/hngs/node_modules/@umijs/plugin-locale",
|
|
"author": {
|
|
"name": "Long Ho",
|
|
"email": "holevietlong@gmail.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/formatjs/formatjs/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"dependencies": {
|
|
"@formatjs/intl-utils": "^2.3.0"
|
|
},
|
|
"deprecated": false,
|
|
"description": "Formats JavaScript dates to relative time strings.",
|
|
"devDependencies": {
|
|
"@formatjs/intl-pluralrules": "^1.5.9",
|
|
"@types/jest": "^25.2.1",
|
|
"formatjs-extract-cldr-data": "^10.1.8",
|
|
"ts-jest": "^25.4.0"
|
|
},
|
|
"files": [
|
|
"dist-es6",
|
|
"dist",
|
|
"lib",
|
|
"polyfill-locales.js",
|
|
"polyfill.js",
|
|
"src"
|
|
],
|
|
"gitHead": "5b218606c3ec03e332f472706fffd04153c20dae",
|
|
"homepage": "https://github.com/formatjs/formatjs",
|
|
"keywords": [
|
|
"intl",
|
|
"i18n",
|
|
"relative",
|
|
"time",
|
|
"moment",
|
|
"format",
|
|
"date"
|
|
],
|
|
"license": "MIT",
|
|
"main": "dist/index.js",
|
|
"module": "lib/index.js",
|
|
"name": "@formatjs/intl-relativetimeformat",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/formatjs/formatjs.git"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn run cldr && yarn run compile",
|
|
"cldr": "ts-node scripts/cldr",
|
|
"clean": "rimraf dist lib dist-es6 *.tsbuildinfo",
|
|
"compile": "tsc && tsc -p tsconfig.esm.json && api-extractor run --local && tsc -p tsconfig.es6.json && rollup -c rollup.config.js",
|
|
"jest": "cross-env NODE_ICU_DATA=../../node_modules/full-icu cross-env NODE_ENV=test jest",
|
|
"test": "yarn run jest && yarn run test262",
|
|
"test262": "cross-env NODE_ICU_DATA=../../node_modules/full-icu ts-node tests/runner"
|
|
},
|
|
"types": "lib/intl-relativetimeformat.d.ts",
|
|
"version": "4.5.16"
|
|
}
|