UNPKG

contentful-hugo

Version:

Node module that pulls data from Contentful and turns it into markdown files for Hugo. Can be used with other Static Site Generators, but has some Hugo specific features.

94 lines 2.55 kB
{ "name": "contentful-hugo", "type": "module", "version": "4.2.4", "description": "Node module that pulls data from Contentful and turns it into markdown files for Hugo. Can be used with other Static Site Generators, but has some Hugo specific features.", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "bin": { "contentful-hugo": "./dist/cli.mjs" }, "files": [ "dist", "postInstall.js" ], "repository": { "typ": "git", "url": "https://github.com/ModiiMedia/contentful-hugo" }, "keywords": [ "hugo", "contentful", "blog", "markdown", "yaml", "ssg", "website", "static-site-generator", "jamstack", "frontmatter", "static-site" ], "author": { "name": "Joshua Sosso", "email": "josh@modiimedia.com", "url": "https://www.modiimedia.com" }, "license": "ISC", "dependencies": { "@contentful/rich-text-html-renderer": "^17.1.6", "@contentful/rich-text-plain-text-renderer": "^17.1.6", "@contentful/rich-text-types": "^17.2.5", "async-limiter": "^2.0.0", "c12": "^3.3.2", "chokidar": "^3.6.0", "citty": "^0.1.6", "contentful": "^11.8.13", "dotenv": "^17.2.3", "fastify": "^5.6.2", "fs-extra": "^11.3.2", "js-yaml": "^4.1.1", "json-to-pretty-yaml": "^1.2.2", "pathe": "^2.0.3" }, "devDependencies": { "@eslint/js": "^9.39.1", "@types/fs-extra": "^11.0.4", "@types/js-yaml": "^4.0.9", "@types/json-to-pretty-yaml": "^1.2.1", "@types/node": "^22.19.1", "@types/yargs": "^17.0.35", "@vitest/coverage-v8": "^4.0.10", "eslint": "^9.39.1", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import": "^2.32.0", "eslint-plugin-n": "^17.23.1", "jiti": "^2.6.1", "prettier": "^3.6.2", "typescript": "^5.9.3", "typescript-eslint": "^8.46.4", "unbuild": "^3.6.1", "vite": "^7.2.2", "vite-tsconfig-paths": "^5.1.4", "vitest": "^4.0.10" }, "scripts": { "test": "vitest run --coverage", "lint": "eslint ./src", "lint:fix": "eslint ./src --fix", "format": "prettier --write src guides examples", "typecheck": "tsc --noEmit", "postinstall": "node postInstall.js", "prebuild": "pnpm run lint", "build": "tsc --noEmit && unbuild", "postbuild": "jiti ./copyAssets.ts", "server-dev": "pnpm run build && node dist/cli.mjs --server" } }