forked from i18next/i18next
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
131 lines (131 loc) · 4.58 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
121
122
123
124
125
126
127
128
129
130
131
{
"name": "i18next",
"version": "23.3.0",
"description": "i18next internationalization framework",
"main": "./dist/cjs/i18next.js",
"module": "./dist/esm/i18next.js",
"types": "./index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./index.d.ts",
"import": "./dist/esm/i18next.js",
"require": "./dist/cjs/i18next.js"
}
},
"keywords": [
"i18next",
"internationalization",
"i18n",
"translation",
"localization",
"l10n",
"globalization",
"gettext"
],
"homepage": "https://www.i18next.com",
"bugs": "https://github.com/i18next/i18next/issues",
"repository": {
"type": "git",
"url": "https://github.com/i18next/i18next.git"
},
"funding": [
{
"type": "individual",
"url": "https://locize.com"
},
{
"type": "individual",
"url": "https://locize.com/i18next.html"
},
{
"type": "individual",
"url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
}
],
"dependencies": {
"@babel/runtime": "^7.22.5"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/eslint-parser": "^7.22.5",
"@babel/plugin-proposal-async-generator-functions": "^7.20.7",
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
"@babel/plugin-transform-runtime": "^7.22.5",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/register": "^7.22.5",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.1",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "0.4.3",
"babelify": "^10.0.0",
"browserify": "17.0.0",
"browserify-istanbul": "3.0.1",
"chai": "4.3.7",
"coveralls": "3.1.1",
"cpy-cli": "^4.2.0",
"dtslint": "^0.4.2",
"eslint": "8.42.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.32.2",
"gh-release": "6.0.4",
"husky": "^7.0.2",
"i18next-browser-languagedetector": "7.0.2",
"i18next-fs-backend": "2.1.3",
"i18next-http-backend": "2.2.1",
"i18next-localstorage-cache": "1.1.1",
"i18next-sprintf-postprocessor": "0.2.2",
"karma": "6.4.2",
"karma-browserify": "8.1.0",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.2.0",
"karma-cli": "2.0.0",
"karma-coverage": "2.2.0",
"karma-coveralls": "2.1.0",
"karma-mocha": "2.0.1",
"karma-rollup-preprocessor": "7.0.8",
"karma-sinon": "1.0.5",
"karma-spec-reporter": "0.0.34",
"lint-staged": "^11.1.2",
"mocha": "10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"rimraf": "3.0.2",
"rollup": "^3.25.1",
"sinon": "11.1.2",
"tslint": "^5.20.1",
"typescript": "^5.1.3",
"watchify": "4.0.0"
},
"scripts": {
"pretest": "npm run test:typescript && npm run test:typescript:customtypes && npm run test:typescript:defaulttypes && npm run test:typescript:fallbacktypes && npm run test:typescript:noninterop",
"lint": "eslint src",
"test": "npm run lint && npm run test:new && npm run test:compat",
"test:new": "karma start karma.conf.js --singleRun",
"test:compat": "karma start karma.backward.conf.js --singleRun",
"test:typescript": "tslint --project tsconfig.json",
"test:typescript:defaulttypes": "tslint --project test/typescript/default-types/tsconfig.json",
"test:typescript:customtypes": "tslint --project test/typescript/custom-types/tsconfig.json",
"test:typescript:fallbacktypes": "tslint --project test/typescript/fallback-types/tsconfig.json",
"test:typescript:noninterop": "tslint --project tsconfig.nonEsModuleInterop.json",
"tdd": "karma start karma.conf.js",
"tdd:compat": "karma start karma.backward.conf.js",
"build": "rimraf dist && rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json && cpy \"./dist/umd/*.js\" ./",
"fix_dist_package": "node -e 'console.log(`{\"type\":\"module\",\"version\":\"${process.env.npm_package_version}\"}`)' > dist/esm/package.json",
"preversion": "npm run test && npm run build && git push",
"postversion": "npm run fix_dist_package && git push && git push --tags && npm run release",
"prettier": "prettier --write \"{,**/}*.{ts,tsx,js,json,md}\"",
"prepare": "husky install",
"release": "gh-release"
},
"author": "Jan Mühlemann <jan.muehlemann@gmail.com> (https://github.com/jamuhl)",
"license": "MIT",
"lint-staged": {
"*.{ts,tsx,js,json,md}": "prettier --write"
}
}