-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
82 lines (82 loc) · 2.13 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
{
"name": "@lxg/l10n",
"version": "2.6.0",
"description": "A lightweight translation library",
"type": "module",
"main": "dist/l10n.js",
"exports": {
".": {
"import": "./dist/l10n.js",
"require": "./dist/l10n.cjs"
},
"./date": {
"import": "./dist/date.js",
"require": "./dist/date.cjs"
},
"./html": {
"import": "./dist/html.js",
"require": "./dist/html.cjs"
},
"./lib": {
"import": "./lib/index.js"
}
},
"bin": {
"l10n": "cli/generate.js",
"l10n-html": "cli/html.js"
},
"scripts": {
"lint": "for script in $(ls *.js | grep -v test.js); do npx eslint $script; done",
"lint:fix": "for script in $(ls *.js | grep -v test.js); do npx eslint $script --fix; done",
"test": "node --experimental-vm-modules node_modules/.bin/jest",
"build": "test -d dist && rm -rf dist; npx rollup -c --environment BUILD:production"
},
"files": [
"dist/*",
"lib/*",
"cli/*"
],
"keywords": [
"internationalisation",
"i18n",
"localization",
"l10n",
"translation",
"translate",
"localize",
"gettext"
],
"repository": {
"type": "git",
"url": "git+https://github.com/lxg/l10n.git"
},
"author": {
"name": "Alexander Günsche",
"url": "https://lxg.de/"
},
"license": "ISC",
"dependencies": {
"@lxg/l10n-cldr": "^0.4.1",
"acorn-loose": "^7.1.0",
"acorn-walk": "^7.2.0",
"ajv": "^6.12.6",
"fast-glob": "^3.2.4",
"getopts": "^2.3.0",
"gettext-parser": "^4.0.4",
"node-html-parser": "^4.1.4"
},
"devDependencies": {
"cldr-core": "^38.1.0",
"cldr-dates-modern": "^38.1.0",
"eslint": "^7.26.0",
"eslint-plugin-jest": "^24.3.6",
"jest": "^26.6.3",
"rollup": "^2.26.5",
"rollup-plugin-terser": "^7.0.2"
},
"jest": {
"testMatch": [
"**/tests/*.js"
]
}
}