forked from formatjs/formatjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 4.54 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
{
"name": "react-intl",
"version": "3.3.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]>",
"Marces Engel <[email protected]>"
],
"license": "BSD-3-Clause",
"homepage": "https://github.com/formatjs/react-intl",
"bugs": {
"url": "https://github.com/formatjs/react-intl/issues"
},
"repository": {
"type": "git",
"url": "[email protected]:formatjs/react-intl.git"
},
"main": "./dist/index.js",
"module": "./lib/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"dependencies": {
"@formatjs/intl-relativetimeformat": "^4.1.1",
"@formatjs/intl-unified-numberformat": "^1.0.0",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/invariant": "^2.2.30",
"hoist-non-react-statics": "^3.3.0",
"intl-format-cache": "^4.2.1",
"intl-locales-supported": "^1.5.0",
"intl-messageformat": "^7.3.1",
"intl-messageformat-parser": "^3.2.0",
"invariant": "^2.1.1",
"shallow-equal": "^1.1.0"
},
"peerDependencies": {
"react": "^16.3.0"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/node": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"@formatjs/intl-pluralrules": "^1.2.1",
"@types/benchmark": "^1.0.31",
"@types/enzyme": "^3.10.3",
"@types/jest": "^24.0.18",
"@types/prop-types": "^15.7.3",
"@types/react": "^16.9.3",
"@types/react-dom": "^16.9.1",
"@typescript-eslint/eslint-plugin": "^2.3.1",
"@typescript-eslint/parser": "^2.3.1",
"babel-jest": "^24.9.0",
"benchmark": "^2.1.0",
"core-js": "^3.2.1",
"cross-env": "^6.0.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.4.0",
"eslint": "^6.4.0",
"eslint-plugin-react": "^7.14.3",
"fs-extra": "^8.1.0",
"full-icu": "^1.3.0",
"glob": "^7.0.0",
"jest": "^24.9.0",
"markdown-toc": "^1.2.0",
"mkdirp": "^0.5.1",
"parcel": "^1.12.3",
"pre-commit": "^1.2.2",
"prettier": "^1.6.1",
"react": "^16.8.0",
"react-dom": "^16.9.0",
"rimraf": "^3.0.0",
"rollup": "^1.21.4",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-typescript2": "^0.24.3",
"rollup-plugin-uglify": "^6.0.3",
"standard-version": "^7.0.0",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"tslib": "^1.9.3",
"typescript": "~3.3.0"
},
"scripts": {
"benchmark": "cross-env NODE_ENV=production TS_NODE_PROJECT=./tsconfig.cjs.json ts-node test/perf/index.tsx",
"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:lib": "tsc -p src/tsconfig.json && tsc -p src/tsconfig.cjs.json",
"build": "npm run build:lib && npm run build:dist",
"clean": "rimraf coverage/ dist/ lib/ core.js core.d.ts",
"example": "parcel examples/index.html",
"format:fix": "prettier --write */*.{js,md,jsx,ts,tsx} */**/*.{js,md,jsx,ts,tsx}",
"format": "npm run format:fix -- --check",
"lint:fix": "eslint . --fix",
"lint": "eslint .",
"postchangelog": "npm run toc && npm run format:fix",
"prerelease": "npm run clean && npm run build && npm run test:all",
"release": "standard-version",
"test:all": "npm run lint && npm run format && npm run test",
"test:perf": "cross-env NODE_ENV=production babel-node test/perf",
"test:watch": "cross-env NODE_ICU_DATA=./node_modules/full-icu jest --watch",
"test": "cross-env NODE_ICU_DATA=./node_modules/full-icu jest --coverage --verbose",
"toc": "node scripts/toc"
},
"pre-commit": [
"toc",
"format:fix",
"lint:fix"
],
"browserslist": [
"ie 11"
]
}