UNPKG

@jackdbd/eleventy-plugin-text-to-speech

Version:

Eleventy plugin that uses text-to-speech to generate audio assets for your website, then injects audio players in your HTML.

132 lines (131 loc) 3.82 kB
{ "name": "@jackdbd/eleventy-plugin-text-to-speech", "version": "3.2.0", "description": "Eleventy plugin that uses text-to-speech to generate audio assets for your website, then injects audio players in your HTML.", "author": { "name": "Giacomo Debidda", "email": "giacomo@giacomodebidda.com", "url": "https://giacomodebidda.com/" }, "license": "MIT", "private": false, "publishConfig": { "access": "public" }, "keywords": [ "11ty", "gcp", "plugin", "text-to-speech" ], "repository": { "type": "git", "url": "https://github.com/jackdbd/undici" }, "homepage": "https://github.com/jackdbd/undici/tree/main/packages/eleventy-plugin-text-to-speech#readme", "engines": { "node": ">=18" }, "type": "module", "exports": { ".": { "types": "./lib/index.d.ts", "import": "./lib/index.js" }, "./hosting": { "types": "./lib/hosting/index.d.ts", "import": "./lib/hosting/index.js" }, "./hosting/*": { "types": "./lib/hosting/*.d.ts", "import": "./lib/hosting/*.js" }, "./schemas/*": { "types": "./lib/schemas/*.d.ts", "import": "./lib/schemas/*.js" }, "./synthesis": { "types": "./lib/synthesis/index.d.ts", "import": "./lib/synthesis/index.js" }, "./synthesis/*": { "types": "./lib/synthesis/*.d.ts", "import": "./lib/synthesis/*.js" }, "./text-to-audio-asset": { "types": "./lib/text-to-audio-asset.d.ts", "import": "./lib/text-to-audio-asset.js" } }, "typesVersions": { ">=4.0": { "*": [ "./lib/hosting/*.d.ts", "./lib/schemas/*.d.ts", "./lib/synthesis/*.d.ts", "./lib/text-to-audio-asset.d.ts", "./lib/*.d.ts" ] } }, "files": [ "CHANGELOG.md", "LICENSE", "README.md", "lib" ], "scripts": { "build": "run-s 'build:ts' 'docs' --print-label", "build:ts": "tsc -p tsconfig.json", "build:ts:watch": "tsc -p tsconfig.json --watch", "clean": "rimraf lib/ tsconfig.tsbuildinfo", "dev": "run-p build:ts:watch test:watch", "docs": "run-s 'docs:ae' 'docs:ad' 'docs:typedoc' 'readme' --print-label", "docs:ad": "../../scripts/api-documenter.mjs", "docs:ae": "../../scripts/api-extractor.mjs", "docs:typedoc": "../../scripts/typedoc.mjs", "format": "../../scripts/format.mjs", "lint": "eslint --config ../../config/eslint.cjs", "nuke": "npm run clean && rimraf node_modules 'package-lock.json'", "precommit": "lint-staged --config ../../config/lint-staged.cjs", "publint": "publint run .", "readme": "tsm ../../scripts/readme.ts eleventy-plugin-text-to-speech", "size": "pkg-size ./lib --sort-by=brotli --ignore-files {*.d.ts,*.map}", "test": "node --test --experimental-test-coverage", "test:ci": "node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info", "test:watch": "node --test --watch" }, "dependencies": { "@jackdbd/zod-schemas": "^2.2.0", "html-to-text": "^9.0.5", "jsdom": "^24.0.0", "specificity": "^1.0.0", "zod": "^3.23.0", "zod-validation-error": "^3.1.0" }, "peerDependencies": { "@11ty/eleventy": ">=2.0.0 || 3.0.0-alpha.6", "@aws-sdk/client-s3": ">=3.0.0", "@aws-sdk/lib-storage": ">=3.0.0", "@google-cloud/storage": ">=7.0.0", "@google-cloud/text-to-speech": ">=5.0.0", "debug": ">=4.0.0" }, "peerDependenciesMeta": { "@aws-sdk/client-s3": { "optional": true }, "@aws-sdk/lib-storage": { "optional": true }, "@google-cloud/storage": { "optional": true }, "@google-cloud/text-to-speech": { "optional": true } }, "devDependencies": { "@jackdbd/eleventy-test-utils": "*" } }