forked from i18next/next-i18next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
120 lines (120 loc) · 3.83 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
{
"name": "next-i18next",
"version": "1.2.1",
"repository": "[email protected]:isaachinman/next-i18next.git",
"author": "Isaac Hinman <[email protected]>",
"main": "dist/commonjs/index.js",
"types": "./types.d.ts",
"license": "MIT",
"engines": {
"node": ">=8"
},
"description": "The easiest way to translate your NextJs apps.",
"keywords": [
"react",
"i18next",
"nextjs",
"next",
"translation",
"localisation",
"localization",
"locale"
],
"scripts": {
"check-types": "tsc",
"lint": "eslint types.d.ts src/**/* examples __tests__/**/*",
"lint:fix": "eslint types.d.ts src/**/* examples __tests__/**/* --fix",
"clean": "rm -rf examples/simple/.next && rm -rf dist && mkdir dist",
"build:es": "BABEL_ENV=es babel src --extensions '.ts,.tsx' --out-dir dist/es",
"build:cjs": "BABEL_ENV=cjs babel src --extensions '.ts,.tsx' --out-dir dist/commonjs",
"build": "yarn clean && yarn build:cjs && yarn build:es",
"build:examples/simple": "yarn --cwd examples/simple && yarn --cwd examples/simple build",
"heroku-postbuild": "yarn build && yarn build:examples/simple",
"prepublishOnly": "yarn build",
"run-example": "yarn build && cd examples/simple && yarn && yarn dev",
"run-example:prod": "yarn --cwd examples/simple start",
"test": "yarn check-types && yarn build && yarn build:examples/simple && bundlesize && NODE_ENV=test jest --maxWorkers=1 --silent",
"contributors:check": "all-contributors check",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn test"
}
},
"bundlesize": [
{
"path": "./examples/simple/.next/static/chunks/commons*.js",
"maxSize": "106 kB"
},
{
"path": "./examples/simple/.next/static/runtime/main*.js",
"maxSize": "8 kB"
},
{
"path": "./examples/simple/.next/static/runtime/webpack*.js",
"maxSize": "750 B"
}
],
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@types/express": "^4.16.1",
"@types/jest": "^24.0.16",
"@types/jest-environment-puppeteer": "^4.0.0",
"@types/react": "^16.8.4",
"@types/react-dom": "^16.8.2",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"all-contributors-cli": "^6.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.1.0",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"bundlesize": "^0.18.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"eslint": "^6.1.0",
"eslint-plugin-import": "^2.17.1",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.14.3",
"husky": "^3.0.0",
"jest": "^24.1.0",
"jest-puppeteer": "^4.0.0",
"jsdom": "^15.0.0",
"jsdom-global": "^3.0.2",
"next": "^9.0.1",
"puppeteer": "^1.11.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"typescript": "^3.5.3"
},
"dependencies": {
"core-js": "^2",
"detect-node": "^2.0.4",
"hoist-non-react-statics": "^3.2.0",
"i18next": "^17.0.9",
"i18next-browser-languagedetector": "^3.0.0",
"i18next-express-middleware": "^1.5.0",
"i18next-node-fs-backend": "^2.1.0",
"i18next-xhr-backend": "^3.0.0",
"path-match": "^1.2.4",
"prop-types": "^15.6.2",
"react-i18next": "^10.11.5",
"url": "^0.11.0"
},
"resolutions": {
"**/react": "^16.8.6",
"**/react-dom": "^16.8.6"
},
"peerDependencies": {
"next": ">= 7.0.0",
"react": ">= 16.8.0"
}
}