UNPKG

draft-js-modifiers

Version:
66 lines (65 loc) 1.89 kB
{ "name": "draft-js-modifiers", "version": "0.1.5", "description": "Modular state modifiers for Draft.js", "main": "index.js", "module": "es/index.js", "jsnext:main": "es/index.js", "files": [ "es", "utils", "*.js" ], "keywords": [ "draft-js", "draft-js-modifiers" ], "repository": "git@github.com:sugarshin/draft-js-modifiers.git", "author": "sugarshin", "license": "MIT", "scripts": { "add": "node ./script/add-module", "start": "npm run watch:test", "lint": "eslint src test", "type": "flow", "check": "npm run lint && npm run type", "test": "ava -v", "test:coverage": "nyc npm test", "test:coverage:report": "npm run test:coverage && nyc report --reporter=text-lcov | coveralls", "test:ci": "npm run check && npm run test:coverage:report", "watch:test": "npm test -- --watch", "clean:build": "rm -rf ./*.js ./utils", "prebuild": "npm run clean:build", "build:commonjs": "BABEL_ENV=commonjs babel -d . src", "build:es": "BABEL_ENV=es babel -d es src", "build": "npm run build:commonjs && npm run build:es", "prepublishOnly": "npm run check && npm run test:coverage && npm run build" }, "ava": { "require": [ "babel-register" ] }, "dependencies": { "draft-js": "~0.10.0", "immutable": "~3.7.4" }, "devDependencies": { "ava": "^0.23.0", "babel-cli": "^6.26.0", "babel-eslint": "^8.0.1", "babel-plugin-transform-flow-strip-types": "^6.22.0", "babel-preset-es2015": "^6.24.1", "babel-preset-es2016": "^6.24.1", "babel-preset-es2017": "^6.24.1", "coveralls": "^3.0.0", "eslint": "^4.10.0", "eslint-plugin-ava": "^4.2.2", "eslint-plugin-babel": "^4.1.2", "eslint-plugin-flowtype": "^2.39.1", "flow-bin": "^0.57.3", "nyc": "^11.2.1", "react": "^16.0.0", "react-dom": "^16.0.0" } }