@localazy/api-client
Version:
Official Node.js client for the Localazy API, providing a simple and type-safe way to integrate localization features into your JavaScript and TypeScript projects.
98 lines • 3.05 kB
JSON
{
"name": "@localazy/api-client",
"version": "2.2.0",
"description": "Official Node.js client for the Localazy API, providing a simple and type-safe way to integrate localization features into your JavaScript and TypeScript projects.",
"keywords": [
"Localazy",
"Localazy API",
"TypeScript",
"i18n",
"l10n",
"t10n"
],
"homepage": "https://github.com/localazy/api-client#readme",
"bugs": {
"url": "https://github.com/localazy/api-client/issues"
},
"license": "MIT",
"author": "Localazy <team@localazy.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/localazy/api-client"
},
"files": [
"dist"
],
"type": "module",
"main": "./dist/node/localazy-api-client.cjs",
"module": "./dist/localazy-api-client.js",
"types": "./dist/index.d.ts",
"unpkg": "./dist/browser/localazy-api-client.umd.min.js",
"jsdelivr": "./dist/browser/localazy-api-client.umd.min.js",
"exports": {
".": {
"types": {
"default": "./dist/index.d.ts"
},
"browser": {
"import": "./dist/localazy-api-client.min.js",
"default": "./dist/browser/localazy-api-client.umd.min.js"
},
"default": {
"import": "./dist/localazy-api-client.js",
"default": "./dist/node/localazy-api-client.cjs"
}
}
},
"dependencies": {
"@localazy/languages": "^0.1.11",
"es-toolkit": "^1.47.0"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.58.7",
"@rollup/plugin-terser": "^1.0.0",
"@tsconfig/node24": "^24.0.4",
"@types/isomorphic-fetch": "^0.0.39",
"@types/node": "^25.9.1",
"@vitest/coverage-v8": "^4.1.7",
"@vitest/ui": "^4.1.7",
"fetch-mock": "^12.6.0",
"husky": "^9.1.7",
"isomorphic-fetch": "^3.0.0",
"oxfmt": "^0.52.0",
"oxlint": "^1.67.0",
"oxlint-tsgolint": "^0.23.0",
"reexport": "^1.4.1",
"rimraf": "^6.1.3",
"typescript": "^6.0.3",
"unplugin-dts": "^1.0.1",
"unplugin-replace": "^0.9.0",
"vite": "^8.0.14",
"vite-bundle-visualizer": "^1.2.1",
"vite-plugin-node-polyfills": "^0.2.0",
"vitest": "^4.1.7"
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "rimraf dist && pnpm run main-ts:build && vite build",
"bundle:visualize": "vite-bundle-visualizer",
"check": "pnpm run format && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm run test",
"check:fix": "pnpm run format:fix && pnpm run lint:fix",
"dev": "vite & pnpm run main-ts:watch",
"format": "oxfmt --check",
"format:fix": "oxfmt",
"lint": "oxlint --type-aware",
"lint:fix": "oxlint --type-aware --fix",
"main-ts:build": "reexport src/main.ts",
"main-ts:watch": "reexport --watch src/main.ts",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:debug": "vitest --inspect-brk --no-file-parallelism",
"test:matrix": "./scripts/node-test-matrix.sh",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"typecheck": "tsc --build"
}
}