UNPKG

@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.

105 lines (104 loc) 3.63 kB
{ "name": "@localazy/api-client", "version": "2.1.9", "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" }, "repository": { "type": "git", "url": "git+https://github.com/localazy/api-client" }, "license": "MIT", "author": "Localazy <team@localazy.com>", "type": "module", "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" } } }, "main": "./dist/node/localazy-api-client.cjs", "jsdelivr": "./dist/browser/localazy-api-client.umd.min.js", "unpkg": "./dist/browser/localazy-api-client.umd.min.js", "module": "./dist/localazy-api-client.js", "types": "./dist/index.d.ts", "files": [ "dist/**/*", "docs/**/*", "README.md" ], "scripts": { "build": "rimraf dist && npm run main-ts:build && vite build", "bundle:visualize": "vite-bundle-visualizer", "check": "npm run prettier && npm run lint && npm run typecheck && npm run build && npm run test:coverage", "check:fix": "npm run prettier:fix && npm run lint:fix", "dev": "vite & npm run main-ts:watch", "lint": "eslint --cache --cache-location .cache/eslint .", "lint:fix": "eslint --fix .", "main-ts:build": "reexport src/main.ts", "main-ts:watch": "reexport --watch src/main.ts", "prepare": "husky", "prettier": "prettier --check --cache --cache-location .cache/prettier .", "prettier:fix": "prettier --write .", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:debug": "vitest --inspect-brk --no-file-parallelism", "test:ui": "vitest --ui", "test:watch": "vitest", "typecheck": "tsc --noEmit" }, "dependencies": { "@localazy/languages": "^0.1.6", "lodash-es": "^4.17.21" }, "devDependencies": { "@localazy/conventional-changelog-preset": "^1.2.11", "@localazy/eslint-config": "^1.0.0-beta.2", "@localazy/prettier-config": "^1.0.0-beta.2", "@localazy/tsconfig": "^1.0.0-beta.4", "@rollup/plugin-terser": "^0.4.4", "@types/isomorphic-fetch": "^0.0.39", "@types/lodash-es": "^4.17.9", "@types/node": "^22.17.1", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "conventional-changelog": "^5.1.0", "conventional-changelog-cli": "^4.1.0", "conventional-changelog-writer": "github:localazy/conventional-changelog-writer", "conventional-recommended-bump": "^9.0.0", "eslint": "^9.32.0", "fetch-mock": "^12.5.3", "husky": "^9.1.7", "isomorphic-fetch": "^3.0.0", "prettier": "^3.6.2", "reexport": "^1.4.1", "rimraf": "^6.0.1", "typescript": "^5.9.2", "unplugin-replace": "^0.2.1", "vite": "^6.3.5", "vite-bundle-visualizer": "^1.2.1", "vite-plugin-dts": "^4.5.4", "vite-plugin-node-polyfills": "^0.23.0", "vitest": "^3.2.4" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }