-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.44 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
{
"name": "resx",
"version": "2.0.4",
"description": "resx2js and js2resx converter resx resource utils",
"type": "module",
"main": "./cjs/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./cjs/index.js",
"default": "./esm/index.js"
},
"./resx2js": {
"require": "./cjs/resx2js.js",
"default": "./esm/resx2js.js"
},
"./js2resx": {
"require": "./cjs/js2resx.js",
"default": "./esm/js2resx.js"
},
"./cjs": {
"default": "./cjs/index.js"
},
"./cjs/resx2js": {
"default": "./cjs/resx2js.js"
},
"./cjs/js2resx": {
"default": "./cjs/js2resx.js"
},
"./esm": {
"default": "./esm/index.js"
},
"./esm/resx2js": {
"default": "./esm/resx2js.js"
},
"./esm/js2resx": {
"default": "./esm/js2resx.js"
}
},
"module": "./esm/index.js",
"dependencies": {
"xml2js": "0.5.0"
},
"devDependencies": {
"@babel/cli": "7.21.0",
"@babel/core": "7.21.4",
"@babel/preset-env": "7.21.4",
"babel-plugin-add-module-exports": "1.0.4",
"browserify": "17.0.0",
"eslint": "8.38.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-require-path-exists": "1.1.9",
"eslint-plugin-standard": "4.1.0",
"expect.js": "0.3.1",
"mocha": "10.2.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 resx cjs/index.js -o resx.js && uglifyjs resx.js --compress --mangle -o resx.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": [
"resx",
"microsoft",
"visual studio",
"visual",
"studio",
"json",
"js",
"translation",
"converter"
],
"author": "adrai",
"license": "MIT",
"homepage": "http://locize.com",
"repository": {
"type": "git",
"url": "git+https://github.com/locize/resx.git"
}
}