-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.02 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
{
"name": "react-simple-i18n",
"version": "2.0.0",
"description": "React i18n solution with context API",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "run-p build:cjs build:d.ts build:es",
"build:cjs": "cross-env NODE_ENV=cjs babel src --out-dir lib --extensions .tsx,.ts",
"build:es": "cross-env NODE_ENV=es babel src --out-dir es --extensions .tsx,.ts",
"build:d.ts": "tsc",
"lint": "eslint . --fix",
"test": "cross-env NODE_ENV=test jest --env=jsdom",
"cov": "cross-env NODE_ENV=test jest --env=jsdom --coverage"
},
"jest": {
"roots": [
"src"
],
"setupFilesAfterEnv": [
"./jest/setup.js"
],
"verbose": true
},
"repository": {
"type": "git",
"url": "https://github.com/lhz516/react-simple-i18n"
},
"keywords": [
"react",
"i18n",
"internationalization",
"context"
],
"author": "Hanz Luo",
"license": "MIT",
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.16.7",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.1.0",
"@types/jest": "^29",
"@types/jsdom": "^21.1.7",
"@types/react": "^19",
"@types/react-dom": "^19",
"@typescript-eslint/eslint-plugin": "^8",
"@typescript-eslint/parser": "^8.18.1",
"babel-jest": "^29",
"cross-env": "^7",
"eslint": "^8.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.17.0",
"jest": "^29",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^25.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"react": "^19",
"react-dom": "^19",
"regenerator-runtime": "^0.14.1",
"typescript": "^5"
},
"dependencies": {}
}