UNPKG

@nextcloud/l10n

Version:

Nextcloud localization and translation helpers for apps and libraries

92 lines (91 loc) 2.52 kB
{ "name": "@nextcloud/l10n", "version": "3.4.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": "npm run test:dom && npm run test:node", "test:coverage": "LANG=en-US vitest run --coverage", "test:dom": "LANG=en-US vitest run", "test:node": "LANG=en-US vitest run --environment node", "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": "^9.0.0-rc.2", "@nextcloud/vite-config": "^2.3.5", "@types/escape-html": "^1.0.4", "@types/gettext-parser": "^8.0.0", "@types/node": "^24.0.10", "@vitest/coverage-v8": "^3.2.4", "eslint": "^9.30.1", "gettext-parser": "^8.0.0", "jsdom": "^26.1.0", "msw": "^2.10.3", "typedoc": "^0.28.7", "typedoc-plugin-missing-exports": "^4.0.0", "vite": "^6.3.5", "vitest": "^3.0.5" }, "engines": { "node": "^20 || ^22 || ^24" }, "devEngines": { "packageManager": { "name": "npm", "version": "^10.6.0" }, "runtime": { "name": "node", "version": "^22" } } }