Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.29 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.29 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
{
"name": "i18next-locize-backend",
"version": "10.0.6",
"description": "i18next-locize-backend is a backend layer for i18next to use locize service which can be used in node.js, in the browser and for deno.",
"keywords": [
"i18next",
"i18next-backend",
"locize"
],
"homepage": "https://github.com/locize/i18next-locize-backend",
"bugs": "https://github.com/locize/i18next-locize-backend/issues",
"repository": {
"type": "git",
"url": "git://github.com/locize/i18next-locize-backend.git"
},
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=18"
},
"main": "./cjs/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"types": {
"require": "./cjs/index.d.ts",
"import": "./esm/index.d.mts"
},
"module": "./esm/index.js",
"import": "./esm/index.js",
"require": "./cjs/index.js",
"default": "./esm/index.js"
},
"./cjs": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"./esm": {
"types": "./esm/index.d.mts",
"default": "./esm/index.js"
}
},
"module": "./esm/index.js",
"dependencies": {},
"types": "./index.d.mts",
"devDependencies": {
"eslint": "9.39.1",
"eslint-plugin-import": "2.32.0",
"expect.js": "0.3.1",
"i18next": "26.0.6",
"json-server": "0.17.4",
"mocha": "11.7.5",
"neostandard": "0.13.0",
"tsd": "0.33.0",
"tsdown": "0.21.10",
"typescript": "6.0.3",
"xmlhttprequest": "1.8.0"
},
"scripts": {
"lint": "eslint .",
"build": "tsdown && npm run finalize",
"finalize": "cp index.d.mts esm/index.d.mts && cp index.d.ts esm/index.d.ts && cp index.d.ts cjs/index.d.ts && echo '{\"type\":\"commonjs\"}' > cjs/package.json",
"test:xmlhttpreq": "mocha test -R spec --require test/fixtures/xmlHttpRequest.cjs --experimental-modules",
"test:fetch": "mocha test -R spec --experimental-modules",
"test": "npm run lint && npm run build && npm run test:fetch && npm run test:xmlhttpreq && npm run test:typescript",
"test:typescript": "tsc --noEmit && tsd",
"preversion": "npm run test && npm run build && git push",
"postversion": "git push && git push --tags"
},
"tsd": {
"directory": "test/typescript"
},
"author": "locize",
"license": "MIT"
}