forked from formatjs/formatjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
158 lines (158 loc) · 4.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "react-intl",
"version": "v3.0.0-beta-8",
"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/yahoo/react-intl",
"bugs": {
"url": "https://github.com/yahoo/react-intl/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:yahoo/react-intl.git"
},
"main": "./dist/index.js",
"module": "./lib/index.js",
"browserify-shim": {
"react": "global:React"
},
"jest": {
"testRegex": "/test/(unit|functional)/.*\\.js",
"testPathIgnorePatterns": [
"test/functional/support",
"/test/unit/testUtils"
],
"collectCoverageFrom": [
"src/**/*.js",
"!src/en.js"
],
"coverageReporters": [
"lcov",
"text",
"text-summary",
"html"
],
"coverageThreshold": {
"global": {
"branches": 85,
"functions": 100,
"lines": 95,
"statements": 95
}
},
"setupTestFrameworkScriptFile": "./test/setup.js"
},
"dependencies": {
"@types/hoist-non-react-statics": "^3.3.1",
"@types/invariant": "^2.2.29",
"@types/react": "^16.8.20",
"hoist-non-react-statics": "^3.3.0",
"intl-format-cache": "^3.0.2",
"intl-locales-supported": "^1.0.10",
"intl-messageformat": "^4.0.0",
"intl-relativeformat": "^6.1.0",
"invariant": "^2.1.1",
"react": "^16.3.0",
"shallow-equal": "^1.1.0"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/node": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-async-to-generator": "^7.1.0",
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@formatjs/intl-relativetimeformat": "^2.0.0",
"@types/jest": "^24.0.13",
"@types/prop-types": "^15.7.1",
"@typescript-eslint/eslint-plugin": "^1.10.2",
"@typescript-eslint/parser": "^1.10.2",
"babel-jest": "^24.8.0",
"babel-plugin-react-intl": "^3.2.1",
"babel-plugin-transform-member-expression-literals": "^6.9.4",
"babel-plugin-transform-property-literals": "^6.9.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.18",
"babelify": "^10.0.0",
"benchmark": "^2.1.0",
"browserify": "^16.2.3",
"browserify-shim": "^3.8.11",
"cross-env": "^5.2.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"eslint": "^5.16.0",
"eslint-plugin-react": "^7.0.1",
"express": "^4.13.3",
"full-icu": "^1.3.0",
"glob": "^7.0.0",
"intl": "^1.2.1",
"intl-messageformat-parser": "^1.2.0",
"intl-pluralrules": "^1.0.1",
"jest": "^24.8.0",
"mkdirp": "^0.5.1",
"pre-commit": "^1.2.2",
"prettier": "^1.6.1",
"progress": "^2.0.3",
"promise-queue": "^2.2.5",
"prop-types": "^15.7.2",
"react-dom": "^16.8.6",
"rimraf": "^2.4.2",
"rollup": "^1.13.0",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-resolve": "^5.0.1",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-uglify": "^6.0.0",
"serialize-javascript": "^1.5.0",
"superagent": "^5.0.8",
"ts-jest": "^24.0.2",
"tslib": "^1.9.3",
"typescript": "^3.5.1",
"watchify": "^3.7.0"
},
"scripts": {
"format": "prettier --check '**/*.{js,md,jsx,ts,tsx}'",
"format:fix": "prettier --write '**/*.{js,md,jsx,ts,tsx}'",
"clean": "rimraf src/en.js coverage/ dist/ lib/ test/renderer.js",
"build:lib": "tsc && tsc -p tsconfig.cjs.json",
"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": "npm run build:lib && npm run build:dist",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "jest --coverage --verbose",
"test:all": "npm run lint && npm run format && npm run test",
"test:watch": "jest --watch",
"test:perf": "cross-env NODE_ENV=production babel-node test/perf",
"examples:install": "babel-node scripts/examples npm install",
"examples:link": "npm link && babel-node scripts/examples npm link react-intl",
"preversion": "npm run clean && npm run build && npm run test:all",
"prepare": "npm run clean && npm run build"
},
"pre-commit": [
"format:fix",
"lint:fix"
]
}