forked from i18next/react-i18next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 4.25 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
{
"name": "react-i18next",
"version": "8.3.5",
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
"main": "dist/commonjs/index.js",
"types": "index.d.ts",
"jsnext:main": "dist/es/index.js",
"module": "dist/es/index.js",
"keywords": [
"i18next",
"internationalization",
"i18n",
"translation",
"localization",
"l10n",
"globalization",
"react",
"reactjs"
],
"homepage": "https://github.com/i18next/react-i18next",
"bugs": "https://github.com/i18next/react-i18next/issues",
"repository": {
"type": "git",
"url": "https://github.com/i18next/react-i18next.git"
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"create-react-context": "0.2.3",
"hoist-non-react-statics": "3.0.1",
"html-parse-stringify2": "2.0.1"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-async-generator-functions": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@types/i18next": "^11.9.0",
"@types/react": "^16.4.18",
"all-contributors-cli": "^5.4.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "10.0.1",
"babel-jest": "23.6.0",
"babel-plugin-macros": "^2.4.2",
"babel-plugin-tester": "^5.5.1",
"coveralls": "^3.0.2",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-adapter-react-helper": "^1.3.0",
"eslint": "5.6.1",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "3.1.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-prettier": "2.7.0",
"eslint-plugin-react": "7.11.1",
"i18next": "11.9.0",
"jest": "23.6.0",
"jest-cli": "23.6.0",
"mkdirp": "0.5.1",
"prettier": "1.14.3",
"prettier-eslint": "8.8.2",
"raf": "^3.4.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"rimraf": "2.6.2",
"rollup": "0.66.2",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-node-resolve": "3.4.0",
"rollup-plugin-terser": "^3.0.0",
"sinon": "^6.3.4",
"yargs": "12.0.2"
},
"peerDependencies": {
"i18next": ">= 6.0.1",
"react": "^0.14.0 ||^15.0.0 || ^16.0.0",
"prop-types": "15.6.2"
},
"scripts": {
"clean": "rimraf dist && mkdirp dist",
"copy": "cp ./dist/umd/react-i18next.min.js ./react-i18next.min.js && cp ./dist/umd/react-i18next.js ./react-i18next.js",
"build:es": "BABEL_ENV=jsnext babel src --out-dir dist/es",
"build:cjs": "babel src --out-dir dist/commonjs",
"build:umd": "rollup -c rollup.config.js --format umd && rollup -c rollup.config.js --format umd --uglify",
"build:amd": "rollup -c rollup.config.js --format amd && rollup -c rollup.config.js --format amd --uglify",
"build:iife": "rollup -c rollup.config.js --format iife && rollup -c rollup.config.js --format iife --uglify",
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:umd && npm run build:amd && npm run copy",
"preversion": "npm run build && git push",
"postversion": "git push && git push --tags",
"pretest": "",
"test": "BABEL_ENV=development jest --no-cache",
"test:watch": "BABEL_ENV=development jest --no-cache --watch",
"test:coverage": "enzyme-adapter-react-install 16 && BABEL_ENV=development jest --no-cache --coverage",
"test:lint": "./node_modules/.bin/eslint ./src",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
"author": "Jan Mühlemann <[email protected]> (https://github.com/jamuhl)",
"license": "MIT",
"jest": {
"setupTestFrameworkScriptFile": "./test/setup.js",
"unmockedModulePathPatterns": [
"react"
],
"testMatch": [
"**/test/?(*.)(spec|test).js?(x)"
],
"collectCoverageFrom": [
"**/src/*.{js,jsx}",
"!**/src/index.js",
"!**/src/shallowEqual.js",
"!**/node_modules/**",
"!**/test/**",
"!**/example/**"
]
},
"lock": false
}