-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.7 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
{
"name": "i18next-react",
"version": "0.2.2",
"author": "Wang Guan <momocraft@gmail.com>",
"description": "A minimal React binding for i18next",
"keywords": ["react", "i18n", "i18next", "next.js"],
"repository": "https://github.com/jokester/i18next-react",
"bugs": "https://github.com/jokester/i18next-react/issues",
"license": "MIT",
"scripts": {
"build": "rm -rf dist && tsc --project tsconfig.json && tsc --project tsconfig.cjs.json",
"test": "CI=true react-scripts test",
"test:watch": "react-scripts test --watch",
"test:coverage": "CI=true react-scripts test --env=jsdom --coverage --watchAll=false --coverageReporters=json --coverageReporters=lcov --coverageReporters=text --coverageReporters=html",
"typecheck": "tsc --noEmit",
"typecheck:watch": "tsc --watch --noEmit",
"prepublish": "yarn build",
"lint": " eslint 'src/**/*.@(ts|js|tsx|jsx)'",
"lint:fix": "eslint 'src/**/*.@(ts|js|tsx|jsx)' --fix"
},
"peerDependencies": {
"i18next": "*",
"react": ">=16.7"
},
"files": [
"dist/**/*",
"package.json"
],
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"devDependencies": {
"@types/jest": "^25",
"@types/node": "^12",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^2.32.0",
"@typescript-eslint/parser": "^2.32.0",
"eslint": "7.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.0",
"i18next": "^19.4.5",
"jest": "^25",
"prettier": "^2.0.5",
"ts-jest": "^25",
"typescript": "^3.8"
}
}