UNPKG

draftjs-md-converter

Version:

Converter for converting Draft.js state into Markdown and vice versa

73 lines (72 loc) 1.86 kB
{ "name": "draftjs-md-converter", "version": "1.5.2", "description": "Converter for converting Draft.js state into Markdown and vice versa", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "index.d.ts", "license": "MIT", "engines": { "node": ">=10.0.0" }, "scripts": { "lint": "$(npm bin)/eslint src test", "test": "$(npm bin)/mocha && npm run lint", "test-dev": "$(npm bin)/mocha --compilers js:babel-register --watch", "test-brk": "$(npm bin)/mocha --debug-brk", "compile": "rm -rf dist && mkdir dist && node build.js", "prepublish": "npm run compile", "precommit": "lint-staged", "deploy-demo": "cd demo && yarn build && gh-pages -d build" }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "repository": { "type": "git", "url": "git+https://github.com/kadikraman/draftjs-md-converter.git" }, "keywords": [ "Draft.js", "Markdown", "converter", "react", "rich", "text", "editor" ], "author": "Kadi Kraman", "bugs": { "url": "https://github.com/kadikraman/draftjs-md-converter/issues" }, "homepage": "https://kadikraman.github.io/draftjs-md-converter", "devDependencies": { "@babel/core": "7.11.6", "babel-eslint": "^10.1.0", "chai": "^3.5.0", "dirty-chai": "^1.2.2", "esbuild": "0.8.36", "eslint": "^3.9.0", "eslint-config-airbnb": "^6.2.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-prettier": "^2.6.0", "eslint-plugin-react": "^4.3.0", "eslint-scope": "5.0.0", "gh-pages": "^3.1.0", "husky": "4.2.1", "lint-staged": "^7.0.4", "mocha": "^2.4.5", "prettier": "1.19.1" }, "dependencies": { "@textlint/markdown-to-ast": "12.0.2" }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }