UNPKG

@localazy/cdn-client

Version:

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

89 lines 2.53 kB
{ "name": "@localazy/cdn-client", "version": "1.5.13", "description": "Node.js module that allows you to easily interact with the Localazy CDN.", "keywords": [ "CDN", "Localazy", "Localazy CDN", "TypeScript", "g11n", "globalization", "i18n", "internationalization", "l10n", "localization", "t9n", "translation" ], "homepage": "https://github.com/localazy/cdn-client#readme", "bugs": { "url": "https://github.com/localazy/cdn-client/issues" }, "license": "MIT", "author": "Localazy <team@localazy.com>", "repository": { "type": "git", "url": "git+https://github.com/localazy/cdn-client", "directory": "packages/cdn-client" }, "files": [ "dist/**/*", "README.md" ], "type": "module", "main": "./dist/node/localazy-cdn-client.cjs", "module": "./dist/localazy-cdn-client.js", "types": "./dist/index.d.ts", "unpkg": "./dist/browser/localazy-cdn-client.umd.min.js", "jsdelivr": "./dist/browser/localazy-cdn-client.umd.min.js", "exports": { ".": { "types": { "default": "./dist/index.d.ts" }, "browser": { "import": "./dist/localazy-cdn-client.min.js", "default": "./dist/browser/localazy-cdn-client.umd.min.js" }, "default": { "import": "./dist/localazy-cdn-client.js", "default": "./dist/node/localazy-cdn-client.cjs" } } }, "devDependencies": { "@microsoft/api-extractor": "^7.57.8", "@rollup/plugin-terser": "^1.0.0", "@tsconfig/node22": "^22.0.5", "@types/isomorphic-fetch": "^0.0.39", "@types/node": "^24.12.0", "@vitest/coverage-v8": "^4.1.2", "@vitest/ui": "^4.1.2", "fetch-mock": "^12.6.0", "isomorphic-fetch": "^3.0.0", "reexport": "^1.4.1", "typescript": "^6.0.2", "unplugin-dts": "^1.0.0-beta.6", "unplugin-replace": "^0.8.0", "vite": "^7.3.1", "vite-bundle-visualizer": "^1.2.1", "vitest": "^4.1.2" }, "engines": { "node": ">=20" }, "scripts": { "build": "pnpm run main-ts:build && vite build", "bundle:visualize": "vite-bundle-visualizer", "check": "pnpm run typecheck && pnpm run build && pnpm run test", "dev": "vite & pnpm run main-ts:watch", "main-ts:build": "reexport src/main.ts", "main-ts:watch": "reexport --watch src/main.ts", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:matrix": "./scripts/node-test-matrix.sh", "test:watch": "vitest", "typecheck": "tsc --build" } }