Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.56 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.56 KB
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
{
"name": "i18next-chained-backend",
"version": "5.1.1",
"description": "backend layer for i18next to chain backends",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./index.d.ts",
"type": "module",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./index.d.mts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./cjs": {
"types": "./index.d.ts",
"default": "./dist/cjs/index.js"
},
"./esm": {
"types": "./index.d.mts",
"default": "./dist/esm/index.js"
}
},
"keywords": [
"i18next",
"i18next-backend"
],
"homepage": "https://github.com/i18next/i18next-chained-backend",
"bugs": "https://github.com/i18next/i18next-chained-backend/issues",
"repository": {
"type": "git",
"url": "https://github.com/i18next/i18next-chained-backend"
},
"dependencies": {
"@babel/runtime": "^7.28.4"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/plugin-transform-runtime": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"babel-eslint": "^10.1.0",
"cpy-cli": "^6.0.0",
"eslint": "8.53.0",
"eslint-config-airbnb": "19.0.4",
"expect.js": "0.3.1",
"i18next": "26.3.4",
"i18next-http-backend": "4.0.4",
"i18next-locize-backend": "9.0.2",
"i18next-resources-to-backend": "1.2.1",
"json5": "2.2.3",
"mkdirp": "3.0.1",
"mocha": "11.7.5",
"rimraf": "6.1.2",
"rollup": "^2.78.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"tsd": "0.33.0",
"typescript": "5.9.3"
},
"scripts": {
"pretest": "npm run test:typescript",
"test": "npm run build && mocha test -R spec --exit",
"test:typescript": "tsd && npm run test:typescript:floor",
"test:typescript:floor": "npx --yes -p typescript@5.0 tsc -p tsconfig.floor.json",
"clean": "rimraf dist && mkdirp dist",
"build": "npm run clean && rollup -c && cpy \"./dist/umd/*.js\" ./ && cp index.d.ts dist/esm/index.d.ts && cp index.d.mts dist/esm/index.d.mts && cp index.d.ts dist/cjs/index.d.ts && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json ",
"preversion": "npm run test && npm run build && git push",
"postversion": "git push && git push --tags"
},
"tsd": {
"directory": "test/typescript"
},
"author": "Jan Mühlemann <jan.muehlemann@gmail.com> (https://github.com/jamuhl)",
"license": "MIT",
"lock": false
}