mono/packages/i18n/package.json

109 lines
3.2 KiB
JSON

{
"name": "@polymech/i18n",
"version": "0.4.0",
"typings": "index.d.ts",
"type": "module",
"publishConfig": {
"access": "public"
},
"bin": {
"pm-i18n": "dist/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": "file:../cache",
"@polymech/commons": "file:../commons",
"@polymech/core": "file:../core",
"@polymech/deepl-mark": "file:../deepl-mark",
"@polymech/fs": "file:../fs",
"@polymech/log": "file:../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",
"form-data": "^4.0.5",
"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",
"webpack": "^5.105.4",
"xlsx": "^0.18.5",
"yaml": "^2.4.1",
"yargs": "^18.0.0",
"zod": "^4.3.6"
},
"scripts": {
"test": "vitest run",
"test:document": "npm run test -- tests/document.e2e.test.ts",
"test-with-coverage": "vitest run --coverage",
"dev-test-watch": "vitest",
"lint": "tslint --project=./tsconfig.json",
"build": "tsc -p . --declaration",
"dev": "tsc -p . --declaration -w",
"typings": "tsc --declaration",
"docs": "npx typedoc src/index.ts",
"typesafe-i18n": "typesafe-i18n",
"dev-test-md": "node ./dist/main.js translate --srcLang='EN' --dstLang='ES' --debug --src='./tests/*.md'",
"dev-test-md-de": "node ./dist/main.js translate --dstLang='EN' --srcLang='DE' --debug --src='./tests/DE/*.md'",
"dev-test-json": "node ./dist/main.js translate --srcLang='EN' --dstLang='ES' --debug --src='./tests/*.json'",
"dev-test-toml": "node ./dist/main.js translate --srcLang='EN' --dstLang='ES' --debug --src='./tests/*.toml'",
"register-commands": "pm-cli register-commands --config=salamand.json --group=i18n",
"webpack": "webpack --config webpack.config.js --stats-error-details"
},
"engines": {
"node": ">= 14.0.0"
},
"license": "BSD-3-Clause",
"keywords": [
"typescript"
],
"devDependencies": {
"@types/form-data": "^2.2.1",
"nexe": "^5.0.0-beta.4",
"vitest": "^4.1.2",
"webpack-cli": "^7.0.2"
}
}