forked from formatjs/formatjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 3.2 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 3.2 KB
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
{
"name": "react-intl",
"version": "2.0.0-beta-1",
"description": "Internationalize React apps declaratively. This library provides React components and an API to format dates, numbers, and string messages, including pluralization.",
"keywords": [
"intl",
"i18n",
"react",
"reactjs"
],
"author": "Caridy Patino <caridy@gmail.com>",
"contributors": [
"Eric Ferraiuolo <eferraiuolo@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": "lib/react-intl-with-locales.js",
"jsnext:main": "src/react-intl.js",
"browser": "./lib/react-intl.js",
"browserify-shim": {
"react": "global:React"
},
"dependencies": {
"hoist-non-react-statics": "^1.0.3",
"intl-format-cache": "2.0.4",
"intl-messageformat": "1.2.0",
"intl-relativeformat": "1.2.0",
"invariant": "^2.1.1"
},
"peerDependencies": {
"react": "^0.14.0"
},
"devDependencies": {
"babel": "^5.8.21",
"babel-eslint": "^4.1.1",
"babelify": "^6.1.3",
"browserify": "^11.0.1",
"browserify-shim": "^3.8.10",
"envify": "^3.4.0",
"es5-shim": "^4.1.10",
"eslint": "^1.2.1",
"eslint-plugin-react": "^3.2.3",
"exorcist": "^0.4.0",
"expect": "^1.9.0",
"formatjs-extract-cldr-data": "^1.1.1",
"intl": "^1.0.0",
"mkdirp": "^0.5.1",
"mocha": "^2.2.5",
"react": "^0.14.0",
"react-addons-test-utils": "^0.14.0",
"rimraf": "^2.4.2",
"serialize-javascript": "^1.1.1",
"uglify-js": "^2.4.24",
"uglifyify": "^3.0.1"
},
"scripts": {
"lint": "eslint src/ test/ scripts/ examples/",
"clean": "rimraf src/en.js src/locale-data/ lib/ dist/",
"build:data": "babel-node scripts/build-locale-data.js",
"build:lib": "babel src/ --ignore src/locale-data/ --out-dir lib/",
"build:dist:main": "browserify src/react-intl.js -s ReactIntl -g [envify --NODE_ENV development] -t babelify -t browserify-shim -d | exorcist -b ./ -r react-intl:/// dist/react-intl.js.map > dist/react-intl.js",
"build:dist:main:min": "browserify src/react-intl.js -s ReactIntl -g [envify --NODE_ENV production] -t babelify -t browserify-shim | uglifyjs -c -m > dist/react-intl.min.js",
"build:dist:with-data": "browserify src/react-intl-with-locales.js -s ReactIntl -g [envify --NODE_ENV development] -t babelify -t browserify-shim -d | exorcist -b ./ -r react-intl:/// dist/react-intl-with-locales.js.map > dist/react-intl-with-locales.js",
"build:dist:with-data:min": "browserify src/react-intl-with-locales.js -s ReactIntl -g [envify --NODE_ENV production] -t babelify -t browserify-shim | uglifyjs -c -m > dist/react-intl-with-locales.min.js",
"build:dist": "npm run build:dist:main && npm run build:dist:main:min && npm run build:dist:with-data && npm run build:dist:with-data:min",
"build": "npm run build:data && npm run build:lib && npm run build:dist",
"test:unit": "mocha --compilers js:babel/register --recursive test/unit/",
"test": "npm run test:unit",
"prepublish": "npm run lint && npm run clean && npm run build && npm test"
}
}