-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
96 lines (96 loc) · 3.09 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
{
"name": "i18next-resources-for-ts",
"version": "1.5.0",
"description": "This package helps to transform resources to be used in a typesafe i18next project.",
"keywords": [
"i18next",
"typescript"
],
"homepage": "https://github.com/i18next/i18next-resources-for-ts",
"repository": {
"type": "git",
"url": "[email protected]:i18next/i18next-resources-for-ts.git"
},
"bugs": {
"url": "https://github.com/i18next/i18next-resources-for-ts/issues"
},
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"browser": "./dist/umd/i18nextResourcesForTS.js",
"types": "./index.d.mts",
"exports": {
"./package.json": "./package.json",
".": {
"types": {
"require": "./dist/cjs/index.d.ts",
"import": "./dist/esm/index.d.mts"
},
"module": "./dist/esm/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"./cjs": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"./esm": {
"types": "./dist/esm/index.d.mts",
"default": "./dist/esm/index.js"
},
"./src": {
"default": "./src/index.js"
}
},
"bin": {
"i18next-resources-for-ts": "./bin/i18next-resources-for-ts.js"
},
"scripts": {
"lint:javascript": "eslint .",
"lint:typescript": "eslint -c .ts.eslintrc *.d.ts *.d.mts test/types/**/*.test-d.ts",
"lint": "npm run lint:javascript && npm run lint:typescript",
"build": "rm -rf dist && rollup -c && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json && cp index.d.ts dist/cjs/index.d.ts && cp index.d.ts dist/esm/index.d.ts && cp index.d.mts dist/esm/index.d.mts",
"test:typescript": "tsd",
"test": "npm run lint && mocha --colors --reporter spec --recursive test/*.js",
"test:all": "npm run test && npm run test:typescript",
"preversion": "npm run test && npm run build && git push",
"postversion": "git push && git push --tags"
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.23.7",
"yaml": "^2.3.4"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.7",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.18.0",
"babel-plugin-add-module-exports": "^1.0.4",
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-require-path-exists": "^1.1.9",
"eslint-plugin-standard": "^5.0.0",
"i18next": "^23.7.16",
"i18next-chained-backend": "^4.6.2",
"mocha": "^10.2.0",
"rollup": "^4.9.4",
"should": "^13.2.3",
"sinon": "^17.0.1",
"tsd": "^0.30.3",
"typescript": "^5.3.3"
},
"tsd": {
"directory": "test/types"
}
}