forked from i18next/react-i18next
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.46 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.46 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
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
{
"name": "react-i18next",
"version": "7.2.0",
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
"main": "dist/commonjs/index.js",
"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": {
"hoist-non-react-statics": "2.3.1",
"html-parse-stringify2": "2.0.1",
"prop-types": "^15.6.0"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "8.0.1",
"babel-jest": "21.2.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-es2015-rollup": "3.0.0",
"babel-preset-react": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"babel-register": "6.26.0",
"coveralls": "^3.0.0",
"enzyme": "3.1.0",
"enzyme-adapter-react-16": "^1.0.3",
"eslint": "4.10.0",
"eslint-config-airbnb": "16.1.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "6.0.2",
"eslint-plugin-react": "7.4.0",
"i18next": "10.0.7",
"jest": "21.2.1",
"jest-cli": "21.2.1",
"mkdirp": "0.5.1",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-test-renderer": "^16.0.0",
"rimraf": "2.6.2",
"rollup": "0.50.0",
"rollup-plugin-babel": "3.0.2",
"rollup-plugin-commonjs": "8.2.6",
"rollup-plugin-node-resolve": "3.0.0",
"rollup-plugin-uglify": "2.0.1",
"sinon": "^4.1.0",
"yargs": "10.0.3"
},
"peerDependencies": {
"i18next": ">= 6.0.1",
"react": ">= 15.0.0",
"react-dom": ">= 15.0.0"
},
"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",
"test": "BABEL_ENV=development jest --no-cache",
"test:watch": "BABEL_ENV=development jest --no-cache --watch",
"test:coverage": "BABEL_ENV=development jest --no-cache --coverage",
"test:lint": "./node_modules/.bin/eslint ./src"
},
"author": "Jan Mühlemann <jan.muehlemann@gmail.com> (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
}