@blazhkoma/draft-convert
Version:
Extensibly serialize & deserialize Draft.js ContentState
82 lines (80 loc) • 2.4 kB
JSON
{
"name": "@blazhkoma/draft-convert",
"version": "2.1.13-fork.2",
"description": "Extensibly serialize & deserialize Draft.js ContentState",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/BlazhkoMA/draft-convert"
},
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run build:umd",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir lib",
"build:esm": "cross-env BABEL_ENV=esm babel src --out-dir esm",
"build:umd": "wp",
"jest": "jest",
"jest:watch": "jest --watch",
"jest:debug": "node --debug-brk --inspect ./node_modules/.bin/jest -i",
"test-once": "npm run jest",
"test": "npm run jest",
"clean": "rimraf ./dist ./lib ./esm",
"build-and-test": "npm run clean && npm run build && npm run test-once",
"lint": "eslint src/ test/",
"prepare": "npm run build",
"prepublish": "npm run lint && npm run build",
"prettier:write": "prettier --write ./{src,test}/*.js ./{src,test}/**/*.js"
},
"files": [
"dist",
"lib",
"esm",
"index.d.ts"
],
"keywords": [
"draft",
"draftjs",
"draft-convert",
"convert"
],
"author": "bbriggs@hubspot.com",
"license": "Apache-2.0",
"peerDependencies": {
"@blazhkoma/draft-js": ">=0.7.0",
"react": "^15.0.2 || ^16.0.0-rc || ^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^15.0.2 || ^16.0.0-rc || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"immutable": "~3.7.4",
"invariant": "^2.2.1"
},
"devDependencies": {
"@babel/cli": "^7.5.0",
"@babel/core": "^7.5.4",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.4",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"cross-env": "^3.1.4",
"@blazhkoma/draft-js": "0.11.7-fork.3",
"eslint": "6.0.1",
"eslint-config-hubspot": "^7.0.0",
"eslint-config-prettier": "^2.2.0",
"eslint-plugin-react": "6.8.0",
"jasmine": "^2.2.0",
"jest": "^24.8.0",
"prettier": "^1.8.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "2.5.4",
"webpack": "^4.35.3",
"webpack-nano": "^0.6.2"
},
"jest": {
"testRegex": "/test/spec/.*\\.js$"
}
}