forked from formatjs/formatjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 4.31 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
{
"name": "react-intl",
"version": "2.1.2",
"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 <[email protected]>",
"contributors": [
"Caridy Patino <[email protected]>"
],
"license": "BSD-3-Clause",
"homepage": "https://github.com/yahoo/react-intl",
"bugs": {
"url": "https://github.com/yahoo/react-intl/issues"
},
"repository": {
"type": "git",
"url": "[email protected]:yahoo/react-intl.git"
},
"main": "./lib/index.js",
"jsnext:main": "./lib/index.es.js",
"browser": {
"./locale-data/index": false,
"./locale-data/index.js": false
},
"browserify-shim": {
"react": "global:React"
},
"dependencies": {
"intl-format-cache": "^2.0.5",
"intl-messageformat": "^1.3.0",
"intl-relativeformat": "^1.3.0",
"invariant": "^2.1.1"
},
"peerDependencies": {
"react": "^15.0.2"
},
"devDependencies": {
"babel-cli": "^6.2.0",
"babel-plugin-react-intl": "^2.0.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.4.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-polyfill": "^6.3.14",
"babel-preset-es2015": "^6.1.18",
"babel-preset-es2015-rollup": "^1.1.1",
"babel-preset-react": "^6.1.18",
"babel-register": "^6.2.0",
"babelify": "^7.2.0",
"benchmark": "^2.1.0",
"browserify": "^13.0.0",
"browserify-shim": "^3.8.11",
"es6-promise": "^3.0.2",
"eslint": "^2.5.3",
"eslint-plugin-react": "^5.0.1",
"expect": "^1.9.0",
"expect-jsx": "^2.2.1",
"express": "^4.13.3",
"formatjs-extract-cldr-data": "^2.0.0",
"glob": "^7.0.0",
"intl": "^1.2.1",
"intl-messageformat-parser": "^1.2.0",
"isparta": "^4.0.0",
"mkdirp": "^0.5.1",
"mocha": "^2.2.5",
"react": "^15.0.0",
"react-addons-test-utils": "^15.0.0",
"react-dom": "^15.0.0",
"react-router": "^2.0.0",
"rimraf": "^2.4.2",
"rollup": "^0.26.0",
"rollup-plugin-babel": "^2.3.9",
"rollup-plugin-commonjs": "^2.2.0",
"rollup-plugin-memory": "^1.0.0",
"rollup-plugin-node-resolve": "^1.4.0",
"rollup-plugin-replace": "^1.1.0",
"rollup-plugin-uglify": "^0.3.1",
"serialize-javascript": "^1.1.1",
"superagent": "^1.5.0"
},
"scripts": {
"clean": "rimraf src/en.js coverage/ dist/ lib/ locale-data/",
"build:data": "babel-node scripts/build-data",
"build:lib": "babel-node scripts/build-lib",
"build:dist:dev": "NODE_ENV=development babel-node scripts/build-dist",
"build:dist:prod": "NODE_ENV=production babel-node scripts/build-dist",
"build:dist": "npm run build:dist:dev && npm run build:dist:prod",
"build": "npm run build:data && npm run build:lib && npm run build:dist",
"react:clean": "rimraf node_modules/{react,react-dom,react-addons-test-utils}",
"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-addons-test-utils@^15",
"lint": "eslint .",
"test": "mocha --compilers js:babel-register --require babel-polyfill --require intl --recursive test/unit/ test/functional/",
"test:cov": "babel-node $(npm bin)/isparta cover --report text --report html node_modules/mocha/bin/_mocha -- --require babel-polyfill --require intl --recursive test/unit/ test/functional/",
"test:react": "npm run react:14 && npm run test -- --reporter dot && npm run react:15 && npm run test -- --reporter dot",
"test:all": "npm run lint && npm run test:cov && npm run test:react",
"test:watch": "npm run test -- --watch --reporter min",
"test:perf": "NODE_ENV=production babel-node test/perf",
"preversion": "npm run clean && npm run build && npm run test:all",
"postversion": "echo 'Uninstall react-router to fix npm issue' && npm uninstall react-router",
"prepublish": "npm run clean && npm run build"
}
}