UNPKG

@localazy/cdn-client

Version:

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

110 lines (109 loc) 3.88 kB
{ "name": "@localazy/cdn-client", "version": "1.5.2", "description": "Node.js module that allows you to easily interact with the Localazy CDN.", "author": "Localazy <team@localazy.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/localazy/cdn-client" }, "bugs": { "url": "https://github.com/localazy/cdn-client/issues" }, "homepage": "https://github.com/localazy/cdn-client#readme", "keywords": [ "Localazy", "Localazy CDN", "CDN", "TypeScript", "internationalization", "translation", "localization", "globalization", "i18n", "t9n", "l10n", "g11n" ], "type": "module", "main": "./dist/node/localazy-cdn-client.cjs", "module": "./dist/localazy-cdn-client.js", "unpkg": "./dist/browser/localazy-cdn-client.umd.min.js", "jsdelivr": "./dist/browser/localazy-cdn-client.umd.min.js", "types": "./dist/index.d.ts", "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" } } }, "files": [ "dist/**/*", "README.md" ], "scripts": { "dev": "vite & npm run main-ts:watch", "build": "rimraf dist && npm run main-ts:build && vite build", "main-ts:build": "reexport src/main.ts", "main-ts:watch": "reexport --watch src/main.ts", "check": "npm run typecheck && npm run test:coverage && npm run lint && npm run prettier", "typecheck": "npx tsc --noemit", "test": "vitest", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui", "test:debug": "vitest --inspect-brk --no-file-parallelism", "lint": "bash -c 'eslint --ext .ts,.js,.mjs,.cjs --ignore-path <(cat .gitignore .eslintignore) .'", "lint:fix": "npm run lint -- --fix", "prettier": "prettier . --check", "prettier:fix": "prettier . --write", "typedoc": "npm run docs:html && npm run docs:md", "typedoc:html": "rimraf typedoc/html/* && typedoc --plugin typedoc-plugin-missing-exports --tsconfig tsconfig.typedoc.json --out typedoc/html src/main.ts", "typedoc:md": "rimraf typedoc/md/* && typedoc --plugin typedoc-plugin-markdown --plugin typedoc-plugin-missing-exports --tsconfig tsconfig.typedoc.json --out typedoc/md src/main.ts", "bundle:visualize": "vite-bundle-visualizer" }, "devDependencies": { "@localazy/conventional-changelog-preset": "^1.2.8", "@rollup/plugin-terser": "^0.4.4", "@types/isomorphic-fetch": "^0.0.39", "@types/node": "^20.11.28", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "@vitest/coverage-v8": "^1.4.0", "@vitest/ui": "^1.4.0", "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": "^8.57.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-node": "^4.1.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.1.3", "fetch-mock": "^9.11.0", "isomorphic-fetch": "^3.0.0", "prettier": "^3.2.5", "reexport": "^1.4.1", "typedoc": "^0.25.12", "typedoc-plugin-markdown": "^3.17.1", "typedoc-plugin-missing-exports": "^2.2.0", "unplugin-replace": "^0.2.1", "vite": "^5.1.6", "vite-bundle-visualizer": "^1.1.0", "vite-plugin-dts": "^3.7.3", "vitest": "^1.4.0" } }