UNPKG

datocms-html-to-structured-text

Version:

Convert HTML (or a `hast` syntax tree) to a valid DatoCMS Structured Text `dast` document

54 lines (53 loc) 1.48 kB
{ "name": "datocms-html-to-structured-text", "version": "5.0.0", "description": "Convert HTML (or a `hast` syntax tree) to a valid DatoCMS Structured Text `dast` document", "keywords": [ "datocms", "structured-text", "dast" ], "author": "Giuseppe Gurgone", "homepage": "https://github.com/datocms/structured-text/tree/master/packages/html-to-structured-text#readme", "license": "MIT", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "typings": "dist/types/index.d.ts", "sideEffects": false, "directories": { "lib": "dist", "test": "__tests__" }, "files": [ "dist", "src" ], "repository": { "type": "git", "url": "git+https://github.com/datocms/structured-text.git" }, "scripts": { "build": "tsc && tsc --project ./tsconfig.esnext.json", "prebuild": "rimraf dist" }, "bugs": { "url": "https://github.com/datocms/structured-text/issues" }, "dependencies": { "datocms-structured-text-utils": "^5.0.0", "extend": "^3.0.2", "hast-util-from-dom": "^3.0.0", "hast-util-from-parse5": "^6.0.1", "hast-util-has-property": "^1.0.4", "hast-util-is-element": "^1.1.0", "hast-util-to-text": "^2.0.1", "rehype-minify-whitespace": "^4.0.5", "unist-util-is": "^4.0.4", "unist-utils-core": "^1.0.5" }, "devDependencies": { "parse5": "^6.0.1", "unist-util-inspect": "^6.0.0" }, "gitHead": "278591f4970ae070f0c9153eccafba3b111bb7a3" }