forked from alibaba/react-intl-universal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.35 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
{
"name": "react-intl-universal",
"version": "1.15.0",
"description": "Internationalize React apps. Not only for React.Component but also for Vanilla JS.",
"keywords": [
"intl",
"i18n",
"internationalization",
"locale",
"localization",
"globalization",
"react",
"format",
"translate",
"plural",
"icu"
],
"main": "./lib/index.js",
"scripts": {
"test": "jest --coverage",
"test:watch": "jest --watch --verbose --coverage",
"clean": "rimraf coverage/ lib/",
"build": "rollup -c rollup.config.js",
"preversion": "npm run clean && npm run build && npm run test",
"prepublish": "npm run clean && npm run build"
},
"author": "[email protected]",
"license": "BSD",
"dependencies": {
"console-polyfill": "^0.3.0",
"cookie": "^0.3.1",
"escape-html": "^1.0.3",
"intl": "^1.2.5",
"intl-messageformat": "^2.2.0",
"invariant": "^2.2.2",
"is-electron": "^2.1.0",
"load-script": "^1.0.0",
"lodash.merge": "^4.6.1",
"object-keys": "^1.0.11",
"querystring": "^0.2.0"
},
"peerDependencies": {
"react": "^0.14.9 || ^15.0.0 || ^16.0.0"
},
"devDependencies": {
"babel-cli": "^6.2.0",
"babel-eslint": "^7.1.1",
"babel-jest": "^19.0.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-preset-es2015": "^6.1.18",
"babel-preset-es2015-rollup": "^3.0.0",
"jest": "^19.0.2",
"jest-cli": "^19.0.2",
"rimraf": "^2.4.2",
"rollup": "^0.41.4",
"rollup-plugin-babel": "^2.3.9",
"rollup-plugin-commonjs": "^7.0.0",
"react": "^15.4.2"
},
"babel": {
"presets": [
"es2015",
"react"
]
},
"jest": {
"transform": {
".*": "<rootDir>/node_modules/babel-jest"
},
"testRegex": "/test/.*\\.js",
"testPathIgnorePatterns": [
"/test/locales/"
],
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageReporters": [
"lcov",
"text",
"text-summary",
"html"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"homepage": "https://github.com/alibaba/react-intl-universal",
"repository": {
"type": "git",
"url": "https://github.com/alibaba/react-intl-universal.git"
},
"types": "./typings/index.d.ts"
}