UNPKG

slate-edit-code

Version:

A Slate plugin to handle code blocks editing.

61 lines (60 loc) 1.94 kB
{ "name": "slate-edit-code", "description": "A Slate plugin to handle code blocks editing.", "version": "0.15.2", "license": "Apache-2.0", "repository": "git://github.com/GitbookIO/slate-edit-code.git", "main": "./dist/index.js", "dependencies": { "detect-indent": "^4.0.0", "detect-newline": "^2.1.0", "ends-with": "^0.2.0", "is-hotkey": "^0.1.1" }, "peerDependencies": { "immutable": "^3.8.1", "slate": "^0.33.0", "slate-react": "^0.12.0", "slate-schema-violations": "^0.1.4" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.0.2", "babel-plugin-transform-flow-strip-types": "^6.22.0", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "babelify": "^8.0.0", "browserify": "^13.3.0", "eslint": "^4.10.0", "eslint-config-gitbook": "^2.0.3", "eslint-plugin-import": "^2.8.0", "expect": "^1.20.2", "flow-bin": "^0.57.3", "gh-pages": "^0.11.0", "http-server": "^0.9.0", "immutable": "^3.8.1", "mocha": "^3.0.1", "react": "^15.3.0", "react-dom": "^15.3.0", "slate": "^0.33.0", "slate-hyperprint": "^2.2.4", "slate-hyperscript": "^0.5.6", "slate-react": "^0.12.0", "slate-schema-violations": "^0.1.4" }, "scripts": { "prepublish": "babel ./lib --out-dir ./dist", "lint": "eslint ./", "test": "./node_modules/.bin/mocha ./tests/all.js --compilers js:babel-register --reporter=list", "postpublish": "npm run deploy-example", "build-example": "browserify ./example/main.js -o ./example/bundle.js -t [ babelify --presets [ es2015 react stage-0 ] ]", "serve-example": "http-server ./example/ -p 8081", "start": "npm run build-example && npm run serve-example", "deploy-example": "npm run build-example && gh-pages -d ./example" }, "keywords": [ "slate" ] }