mono/packages/i18n/package.json
2025-02-06 20:39:43 +01:00

102 lines
3.0 KiB
JSON

{
"name": "@polymech/i18n",
"version": "0.3.0",
"typings": "index.d.ts",
"type": "module",
"publishConfig": {
"access": "public"
},
"bin": {
"osr-i18n": "main.js"
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./lib": {
"import": "./dist/lib/index.js",
"require": "./dist/lib/index.cjs"
},
"./translate": {
"import": "./dist/lib/translate.js",
"require": "./dist/lib/translate.cjs"
},
"./translate_text": {
"import": "./dist/lib/translate_text.js",
"require": "./dist/lib/translate_text.cjs"
},
"./translate_xls": {
"import": "./dist/lib/translate_xls.js",
"require": "./dist/lib/translate_xls.cjs"
},
"./glossary": {
"import": "./dist/lib/glossary.js",
"require": "./dist/lib/glossary.cjs"
},
"./cli": {
"import": "./dist/_cli.js",
"require": "./dist/_cli.cjs"
}
},
"dependencies": {
"@polymech/cache": "link:..\\cache",
"@polymech/commons": "link:..\\commons",
"@polymech/core": "link:..\\core",
"@polymech/fs": "link:..\\fs",
"@polymech/log": "link:..\\log",
"@types/html-minifier-terser": "^7.0.2",
"@types/node": "^22.12.0",
"axios": "^1.7.9",
"cacache": "^19.0.1",
"convert-units": "^2.3.4",
"cryptr": "^6.0.3",
"deepl-node": "^1.8.0",
"env-var": "^7.1.1",
"html-minifier-terser": "^7.2.0",
"json-to-pretty-yaml": "^1.2.2",
"jsonpath-plus": "^8.1.0",
"keyv": "^4.5.4",
"keyv-file": "^0.3.1",
"link-dev": "^1.0.4",
"p-map": "^7.0.3",
"p-throttle": "^4.1.1",
"querystring": "^0.2.1",
"smol-toml": "^1.3.1",
"ssri": "^10.0.1",
"tslog": "^3.3.3",
"typescript": "^5.7.3",
"xlsx": "^0.18.5",
"yaml": "^2.4.1",
"yargs": "^17.7.2",
"zod": "^3.24.1"
},
"scripts": {
"test": "tsc; mocha --full-trace mocha \"spec/**/*.spec.js\"",
"test-with-coverage": "istanbul cover node_modules/.bin/_mocha -- 'spec/**/*.spec.js'",
"lint": "tslint --project=./tsconfig.json",
"build": "tsc -p . --declaration",
"dev": "tsc -p . --declaration -w",
"typings": "tsc --declaration",
"docs": "npx typedoc src/index.ts",
"dev-test-watch": "mocha-typescript-watch",
"typesafe-i18n": "typesafe-i18n",
"link-dev": "sh scripts/link-dev.sh",
"dev-test-md": "node ./dist/main.js translate --debug --src='./tests/*.md'",
"dev-test-md-de": "node ./dist/main.js translate --targetLang='EN' --sourceLang='DE' --debug --src='./tests/DE/*.md'",
"dev-test-json": "node ./dist/main.js translate --debug --src='./tests/*.json'",
"dev-test-toml": "node ./dist/main.js translate --debug --src='./tests/*.toml'"
},
"homepage": "https://git.osr-plastic.org/osr-plastic/osr-i18n",
"repository": {
"type": "git",
"url": "https://git.osr-plastic.org/osr-plastic/osr-i18n.git"
},
"engines": {
"node": ">= 14.0.0"
},
"license": "BSD-3-Clause",
"keywords": [
"typescript"
]
}