UNPKG

blocks-html-renderer

Version:

Render the content of Strapi's Blocks rich text editor as HTML in your frontend.

91 lines (90 loc) 2.34 kB
{ "name": "blocks-html-renderer", "version": "1.0.5", "bugs": { "url": "https://github.com/klammerzu/blocks-html-renderer/issues" }, "repository": { "type": "git", "url": "git://github.com/klammerzu/blocks-html-renderer.git" }, "license": "MIT", "author": { "name": "Aeneas Meier", "email": "mail@klammerzu.dev", "url": "https://klammerzu.dev" }, "maintainers": [ { "name": "Aeneas Meier", "email": "mail@klammerzu.dev", "url": "https://klammerzu.dev" } ], "type": "commonjs", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.mjs", "source": "./src/index.ts", "default": "./dist/index.js" }, "./package.json": "./package.json" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "source": "./src/index.ts", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "lint": "eslint . --ext .cjs,.js,.ts,.tsx", "lint:fix": "yarn lint --fix", "prepublishOnly": "yarn build", "test": "yarn run test:ts && yarn run test:unit", "test:unit": "jest", "test:ts": "tsc --noEmit", "watch": "pack-up watch", "build": "tsup" }, "devDependencies": { "@swc/core": "^1.3.93", "@swc/jest": "^0.2.29", "@testing-library/jest-dom": "^6.1.4", "@testing-library/react": "^14.0.0", "@types/jest": "^29.5.11", "@typescript-eslint/eslint-plugin": "^6.9.0", "@typescript-eslint/parser": "^6.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-check-file": "^2.6.2", "eslint-plugin-import": "^2.28.1", "eslint-plugin-jest-dom": "^5.1.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-testing-library": "^6.1.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.0.1", "prettier": "^3.0.3", "rollup-plugin-preserve-directives": "^0.2.0", "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "tsup": "^8.0.1", "typescript": "^5.3.3" }, "resolutions": { "@typescript-eslint/typescript-estree": "^6.8.0" }, "keywords": [ "blocks", "renderer", "strapi", "blocks", "richtext", "html", "renderer" ] }