UNPKG

@contentstack/json-rte-serializer

Version:

This Package converts Html Document to Json and vice-versa.

68 lines (67 loc) 2.11 kB
{ "name": "@contentstack/json-rte-serializer", "version": "3.0.2", "description": "This Package converts Html Document to Json and vice-versa.", "main": "lib/index.js", "module": "lib/index.mjs", "types": "lib/index.d.ts", "scripts": { "test": "jest", "prepare": "npm run build", "build:cjs": "esbuild src/index.tsx --bundle --outdir=lib --platform=node --minify", "build:esm": "esbuild src/index.tsx --bundle --outdir=lib --format=esm --out-extension:.js=.mjs --minify", "build": "npm run build:cjs && npm run build:esm && tsc --emitDeclarationOnly --outDir lib" }, "repository": { "type": "git", "url": "https://github.com/contentstack/json-rte-serializer.git" }, "keywords": [ "html-to-json", "slate-html" ], "author": "Contentstack", "license": "MIT", "bugs": { "url": "https://github.com/contentstack/json-rte-serializer/issues" }, "homepage": "https://github.com/contentstack/json-rte-serializer#readme", "devDependencies": { "@types/jest": "^27.0.3", "@types/jsdom": "^16.2.12", "@types/lodash.clonedeep": "^4.5.9", "@types/lodash.flatten": "^4.4.9", "@types/lodash.isempty": "^4.4.9", "@types/lodash.isequal": "^4.5.8", "@types/lodash.isobject": "^3.0.9", "@types/lodash.isplainobject": "^4.0.9", "@types/lodash.isundefined": "^3.0.9", "@types/lodash.kebabcase": "^4.1.9", "@types/omit-deep-lodash": "^1.1.1", "@types/uuid": "^8.3.0", "esbuild": "0.19.11", "jest": "^27.5.1", "jest-html-reporter": "^3.7.0", "jsdom": "^16.6.0", "omit-deep-lodash": "^1.1.5", "ts-jest": "^27.0.3", "typescript": "^4.4.2" }, "dependencies": { "array-flat-polyfill": "^1.0.1", "lodash": "^4.17.21", "lodash.clonedeep": "^4.5.0", "lodash.flatten": "^4.4.0", "lodash.isempty": "^4.4.0", "lodash.isequal": "^4.5.0", "lodash.isobject": "^3.0.2", "lodash.isplainobject": "^4.0.6", "lodash.isundefined": "^3.0.1", "lodash.kebabcase": "^4.1.1", "slate": "^0.103.0", "uuid": "^8.3.2" }, "files": [ "lib/**/*" ] }