UNPKG

draft-js-single-line-plugin

Version:

Restrict a draft-js editor to a single line of input.

59 lines (58 loc) 1.64 kB
{ "name": "draft-js-single-line-plugin", "version": "2.0.5", "description": "Restrict a draft-js editor to a single line of input.", "main": "lib/index.js", "module": "esm/index.js", "scripts": { "build:cjs": "NODE_ENV=cjs babel src --out-dir lib", "build:esm": "NODE_ENV=esm babel src --out-dir esm", "compile": "npm run build:cjs && npm run build:esm", "precompile": "npm run clean", "prepublish": "npm run compile", "test": "NODE_ENV=test babel-node test | faucet", "posttest": "npm run lint", "clean": "rm -rf ./lib/*", "lint": "eslint 'src/*.js' 'src/**/*.js'; exit 0" }, "repository": { "type": "git", "url": "https://github.com/icelab/draft-js-single-line-plugin.git" }, "keywords": [ "draft-js", "draft-js-plugins", "plugins", "plugin" ], "authors": [ "Max Wheeler <max@icelab.com.au> (https://github.com/makenosound)" ], "license": "MIT", "bugs": { "url": "https://github.com/icelab/draft-js-single-line-plugin/issues" }, "homepage": "https://github.com/icelab/draft-js-single-line-plugin", "peerDependencies": { "draft-js": ">=0.7.0", "react": ">=15.0.0", "react-dom": ">=15.0.0" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-preset-env": "^1.7.0", "draft-js": ">=0.7.0", "eslint": "2.8.0", "eslint-config-standard": "5.1.0", "eslint-plugin-promise": "1.3.1", "eslint-plugin-standard": "1.3.2", "faucet": "0.0.1", "is-function": "1.0.1", "react": ">=15.0.0", "react-dom": ">=15.0.0", "tape": "4.5.1" }, "dependencies": { "immutable": "^3.7.4" } }