-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
122 lines (122 loc) · 3.31 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
{
"name": "gettext-converter",
"version": "1.3.0",
"description": "po2js and js2po and i18next2po and po2i18next converter gettext resource utils",
"type": "module",
"main": "./cjs/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./cjs/index.js",
"default": "./esm/index.js"
},
"./po2js": {
"require": "./cjs/po2js.js",
"default": "./esm/po2js.js"
},
"./js2po": {
"require": "./cjs/js2po.js",
"default": "./esm/js2po.js"
},
"./js2i18next": {
"require": "./cjs/js2i18next.js",
"default": "./esm/js2i18next.js"
},
"./po2i18next": {
"require": "./cjs/po2i18next.js",
"default": "./esm/po2i18next.js"
},
"./i18next2js": {
"require": "./cjs/i18next2js.js",
"default": "./esm/i18next2js.js"
},
"./i18next2po": {
"require": "./cjs/i18next2po.js",
"default": "./esm/i18next2po.js"
},
"./cjs": {
"default": "./cjs/index.js"
},
"./cjs/po2js": {
"default": "./cjs/po2js.js"
},
"./cjs/js2po": {
"default": "./cjs/js2po.js"
},
"./cjs/js2i18next": {
"default": "./cjs/js2i18next.js"
},
"./cjs/po2i18next": {
"default": "./cjs/po2i18next.js"
},
"./cjs/i18next2po": {
"default": "./cjs/i18next2po.js"
},
"./esm": {
"default": "./esm/index.js"
},
"./esm/po2js": {
"default": "./esm/po2js.js"
},
"./esm/js2po": {
"default": "./esm/js2po.js"
},
"./esm/js2i18next": {
"default": "./esm/js2i18next.js"
},
"./esm/po2i18next": {
"default": "./esm/po2i18next.js"
},
"./esm/i18next2po": {
"default": "./esm/i18next2po.js"
}
},
"module": "./esm/index.js",
"dependencies": {
"arrify": "^2.0.1",
"content-type": "1.0.5",
"encoding": "0.1.13"
},
"devDependencies": {
"@babel/cli": "7.23.9",
"@babel/core": "7.24.0",
"@babel/preset-env": "7.24.0",
"babel-plugin-add-module-exports": "1.0.4",
"browserify": "17.0.0",
"eslint": "8.57.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-require-path-exists": "1.1.9",
"eslint-plugin-standard": "5.0.0",
"expect.js": "0.3.1",
"mocha": "10.3.0",
"uglify-js": "3.17.4"
},
"scripts": {
"lint": "eslint .",
"compile:esm": "rm -rf esm && mkdir esm && BABEL_ENV=esm babel lib -d esm",
"compile:cjs": "rm -rf cjs && mkdir cjs && BABEL_ENV=cjs babel lib -d cjs && echo '{\"type\":\"commonjs\"}' > cjs/package.json",
"compile": "npm run compile:esm && npm run compile:cjs",
"browser": "browserify --standalone gettext cjs/index.js -o gettext.js && uglifyjs gettext.js --compress --mangle -o gettext.min.js",
"build": "npm run compile && npm run browser",
"test": "npm run lint && npm run build && mocha test -R spec",
"preversion": "npm run test && npm run build && git push",
"postversion": "git push && git push --tags"
},
"keywords": [
"gettext",
"json",
"js",
"translation",
"converter"
],
"author": "adrai",
"license": "MIT",
"homepage": "http://locize.com",
"repository": {
"type": "git",
"url": "git+https://github.com/locize/gettext-converter.git"
}
}