UNPKG

@aleksejdix/ally-bcp47

Version:

TypeScript package for working with BCP-47 language tags

69 lines (68 loc) 1.83 kB
{ "name": "@aleksejdix/ally-bcp47", "version": "1.1.0", "description": "TypeScript package for working with BCP-47 language tags", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist" ], "scripts": { "build": "tsc", "prepare": "npm run build", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui", "test:ch-de": "node ./demo-test-ch-de.js", "test:european": "vitest run src/tests/european-countries.test.ts src/tests/eaa-compliance.test.ts", "test:accessibility": "vitest run -t 'Accessibility Extensions'", "test:ada": "vitest run src/tests/ada-compliance.test.ts", "demo:european": "node ./demo-european-tags.js", "demo:ada": "node ./demo-ada-tags.js", "docs:dev": "vitepress dev website", "docs:build": "vitepress build website", "docs:preview": "vitepress preview website" }, "keywords": [ "typescript", "bcp47", "language-tags", "accessibility", "i18n", "internationalization", "localization", "a11y" ], "author": "Aleksej Dix", "license": "MIT", "devDependencies": { "@types/node": "^20.11.30", "@vitest/coverage-v8": "^3.1.3", "typescript": "^5.4.3", "vitepress": "^1.6.3", "vitest": "^3.1.3", "vue": "^3.5.13" }, "dependencies": { "undici-types": "^6.21.0" }, "repository": { "type": "git", "url": "git+https://github.com/AleksejDix/ally-bcp47.git" }, "bugs": { "url": "https://github.com/AleksejDix/ally-bcp47/issues" }, "homepage": "https://github.com/AleksejDix/ally-bcp47#readme", "publishConfig": { "access": "public" } }