-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.88 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
{
"name": "i18next-v4-format-converter",
"version": "1.1.1",
"description": "This package helps to convert old i18next translation resources to the new i18next v4 json format.",
"keywords": [
"i18next",
"v4",
"converter"
],
"homepage": "https://github.com/i18next/i18next-v4-format-converter",
"repository": {
"type": "git",
"url": "[email protected]:i18next/i18next-v4-format-converter.git"
},
"bugs": {
"url": "https://github.com/i18next/i18next-v4-format-converter/issues"
},
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"browser": "./dist/umd/i18nextV4FormatConverter.js",
"types": "./index.d.mts",
"exports": {
"./package.json": "./package.json",
".": {
"types": {
"require": "./index.d.ts",
"import": "./index.d.mts"
},
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"./cjs": {
"types": "./index.d.ts",
"default": "./dist/cjs/index.js"
},
"./esm": {
"types": "./index.d.mts",
"default": "./dist/esm/index.js"
},
"./src": {
"default": "./src/index.js"
}
},
"bin": {
"i18next-v4-format-converter": "./bin/i18next-v4-format-converter.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",
"test:deno": "deno test test/deno/*.ts --reload --no-check",
"test:typescript": "tsd",
"test": "npm run lint && mocha --colors --reporter spec --recursive test/*.js",
"test:all": "npm run test && npm run test:typescript && npm run test:deno",
"preversion": "npm run test && npm run build && git push",
"postversion": "git push && git push --tags"
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "7.16.7"
},
"devDependencies": {
"@babel/core": "7.16.7",
"@babel/plugin-transform-runtime": "7.16.7",
"@babel/preset-env": "7.16.7",
"@types/mocha": "9.0.0",
"@typescript-eslint/eslint-plugin": "5.9.0",
"@typescript-eslint/parser": "5.9.0",
"babel-plugin-add-module-exports": "1.0.4",
"eslint": "7.32.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.1.0",
"eslint-plugin-require-path-exists": "1.1.9",
"eslint-plugin-standard": "5.0.0",
"mocha": "9.1.3",
"rollup": "2.63.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-terser": "7.0.2",
"should": "13.2.3",
"sinon": "12.0.1",
"tsd": "0.19.1",
"typescript": "4.5.4"
},
"tsd": {
"directory": "test/types"
}
}