UNPKG

@localazy/api-client

Version:

Node.js module that allows you to easily interact with the Localazy API.

103 lines (102 loc) 3.33 kB
{ "name": "@localazy/api-client", "version": "2.1.8", "description": "Node.js module that allows you to easily interact with the Localazy API.", "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", "test:coverage": "vitest run --coverage", "test:debug": "vitest --inspect-brk --no-file-parallelism", "test:ui": "vitest --ui", "typecheck": "tsc --noEmit" }, "dependencies": { "@localazy/languages": "^0.1.6", "lodash-es": "^4.17.21" }, "devDependencies": { "@localazy/conventional-changelog-preset": "^1.2.9", "@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.15.21", "@vitest/coverage-v8": "^3.1.4", "@vitest/ui": "^3.1.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.27.0", "fetch-mock": "^12.5.2", "husky": "^9.1.7", "isomorphic-fetch": "^3.0.0", "prettier": "^3.5.3", "reexport": "^1.4.1", "rimraf": "^6.0.1", "typescript": "^5.8.3", "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.1.4" } }