UNPKG

@nextcloud/l10n

Version:

Nextcloud localization and translation helpers for apps and libraries

80 lines (79 loc) 2.21 kB
{ "name": "@nextcloud/l10n", "version": "3.3.0", "description": "Nextcloud localization and translation helpers for apps and libraries", "keywords": [ "nextcloud", "l10n", "localization", "translation", "internationalization" ], "homepage": "https://github.com/nextcloud-libraries/nextcloud-l10n#readme", "repository": { "type": "git", "url": "https://github.com/nextcloud-libraries/nextcloud-l10n" }, "license": "GPL-3.0-or-later", "author": "Nextcloud GmbH and Nextcloud contributors", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./gettext": { "types": "./dist/gettext.d.ts", "import": "./dist/gettext.mjs", "require": "./dist/gettext.cjs" } }, "main": "dist/index.cjs", "types": "dist/index.d.ts", "files": [ "AUTHORS.md", "dist" ], "scripts": { "build": "vite --mode production build", "build:doc": "typedoc && touch dist/doc/.nojekyll", "dev": "vite --mode development build --watch", "lint": "eslint .", "lint:fix": "eslint --fix lib tests", "prerelease:format-changelog": "node build/format-changelog.mjs", "test": "LANG=en-US vitest run", "test:coverage": "LANG=en-US vitest run --coverage", "test:watch": "LANG=en-US vitest watch" }, "browserslist": [ "extends @nextcloud/browserslist-config" ], "dependencies": { "@nextcloud/router": "^3.0.1", "@nextcloud/typings": "^1.9.1", "@types/escape-html": "^1.0.4", "dompurify": "^3.2.6", "escape-html": "^1.0.3" }, "devDependencies": { "@nextcloud/browserslist-config": "^3.0.1", "@nextcloud/eslint-config": "^8.4.2", "@nextcloud/vite-config": "^2.3.5", "@types/escape-html": "^1.0.4", "@types/gettext-parser": "^8.0.0", "@types/node": "^22.15.29", "@vitest/coverage-v8": "^3.1.4", "gettext-parser": "^8.0.0", "jsdom": "^26.1.0", "msw": "^2.8.6", "typedoc": "^0.28.5", "typedoc-plugin-missing-exports": "^4.0.0", "vite": "^6.3.5", "vitest": "^3.0.5" }, "engines": { "node": "^22.0.0", "npm": "^10.5.1" } }