-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
92 lines (92 loc) · 2.84 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
{
"name": "ni18n",
"version": "1.1.0",
"description": "Simple and powerful i18next integration for next.js",
"repository": {
"type": "git",
"url": "https://github.com/JCQuintas/ni18n"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"scripts": {
"dev": "nodemon --watch src --ignore 'src/**/*.test.*' --ext ts,tsx,json --exec yarn build",
"clean": "rimraf dist",
"build": "yarn clean && yarn build:esm && yarn build:cjs",
"build:esm": "tsc --project tsconfig.esm.json && yarn cp:esm",
"build:cjs": "tsc --project tsconfig.cjs.json && yarn cp:cjs",
"cp:esm": "copyup src/use-backend/package.json dist/esm",
"cp:cjs": "copyup src/use-backend/package.json dist/cjs",
"test": "jest",
"test:e2e": "npx playwright test",
"test:e2e:example": "ts-node ./scripts/e2e-test-docker",
"sync:translations": "ts-node ./scripts/sync-translations.ts",
"sync:examples": "ts-node ./scripts/sync-examples",
"sync:dependencies": "ts-node ./scripts/upgrade-dependencies.ts"
},
"author": "Jose Quintas <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=12"
},
"peerDependencies": {
"i18next": ">=20.0.0",
"next": ">=10.0.0",
"react": ">=16.8.0",
"react-i18next": ">= 11.0.0"
},
"dependencies": {
"i18next-fs-backend": "^2.1.1",
"i18next-http-backend": "^2.2.0"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/preset-typescript": "^7.21.4",
"@oclif/command": "^1.8.23",
"@playwright/test": "^1.32.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/i18next-fs-backend": "^1.1.2",
"@types/jest": "^29.5.1",
"@types/node": "^18.15.12",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"chalk": "^4.1.2",
"copyfiles": "^2.4.1",
"deepmerge": "^4.3.1",
"enquirer": "^2.3.6",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-react": "^7.32.2",
"i18next": "^22.4.15",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"lint-staged": "^13.2.1",
"listr2": "^5.0.7",
"next": "^13.3.0",
"nodemon": "^2.0.22",
"prettier": "^2.8.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^12.2.0",
"rimraf": "^5.0.0",
"simple-git-hooks": "^2.8.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,yaml,yml,css,md}": "prettier --write"
},
"files": [
"dist/"
],
"packageManager": "[email protected]"
}