-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.56 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": "android-string-resource",
"version": "2.3.10",
"description": "asr2js and js2asr converter android string resource utils",
"type": "module",
"main": "./cjs/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./cjs/index.js",
"default": "./esm/index.js"
},
"./asr2js": {
"require": "./cjs/asr2js.js",
"default": "./esm/asr2js.js"
},
"./js2asr": {
"require": "./cjs/js2asr.js",
"default": "./esm/js2asr.js"
},
"./cjs": {
"default": "./cjs/index.js"
},
"./cjs/asr2js": {
"default": "./cjs/asr2js.js"
},
"./cjs/js2asr": {
"default": "./cjs/js2asr.js"
},
"./esm": {
"default": "./esm/index.js"
},
"./esm/asr2js": {
"default": "./esm/asr2js.js"
},
"./esm/js2asr": {
"default": "./esm/js2asr.js"
}
},
"module": "./esm/index.js",
"dependencies": {
"rdotjson": "1.1.1",
"xml-js": "1.6.11"
},
"devDependencies": {
"@babel/cli": "7.24.8",
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.3",
"babel-plugin-add-module-exports": "1.0.4",
"browserify": "17.0.0",
"eslint": "8.32.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "15.6.1",
"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.7.3",
"uglify-js": "3.19.2"
},
"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 androidStringResource cjs/index.js -o androidStringResource.js && uglifyjs androidStringResource.js --compress --mangle -o androidStringResource.min.js",
"build_org": "npm run compile && npm run browser",
"build": "npm run compile",
"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": [
"android",
"string",
"resource",
"json",
"js",
"translation",
"converter"
],
"author": "adrai",
"license": "MIT",
"homepage": "http://locize.com",
"repository": {
"type": "git",
"url": "git+https://github.com/locize/android-string-resource.git"
}
}