1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-18 22:24:38 +01:00
slate/package.json

101 lines
3.0 KiB
JSON

{
"name": "slate",
"description": "A completely customizable framework for building rich text editors.",
"version": "0.8.0",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "./dist/index.js",
"dependencies": {
"cheerio": "^0.20.0",
"detect-browser": "^1.3.3",
"esrever": "^0.2.0",
"immutable": "^3.8.1",
"is-empty": "^1.0.0",
"keycode": "^2.1.2",
"lodash": "^4.13.1",
"react-portal": "^2.2.0",
"type-of": "^2.0.1",
"ua-parser-js": "^0.7.10",
"uid": "0.0.2"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0",
"react-dom": "^0.14.0 || ^15.0.0"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-core": "^6.9.1",
"babel-eslint": "^6.1.0",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"component-type": "^1.2.1",
"disc": "^1.3.2",
"eslint": "^3.0.1",
"eslint-plugin-import": "^1.10.2",
"eslint-plugin-react": "^5.2.2",
"exorcist": "^0.4.0",
"gh-pages": "^0.11.0",
"http-server": "^0.9.0",
"is-image": "^1.0.1",
"is-url": "^1.2.2",
"mocha": "^2.5.3",
"prismjs": "^1.5.1",
"react": "^15.2.0",
"react-addons-perf": "^15.2.1",
"react-dom": "^15.1.0",
"react-router": "^2.5.1",
"read-metadata": "^1.0.0",
"selection-position": "^1.0.0",
"slate-auto-replace-text": "^0.2.0",
"slate-collapse-on-escape": "^0.1.0",
"slate-soft-break": "^0.1.0",
"source-map-support": "^0.4.0",
"to-camel-case": "^1.0.0",
"to-title-case": "^1.0.0",
"watchify": "^3.7.0"
},
"scripts": {
"clean": "rm -rf ./dist ./node_modules ./examples/build.js",
"disc": "npm run dist && npm run disc:build && npm run disc:open",
"disc:build": "mkdir -p ./tmp && browserify ./dist/index.js --full-paths --outfile ./tmp/build.js",
"disc:open": "discify ./tmp/build.js --open",
"dist": "npm run dist:npm && npm run dist:bundle",
"dist:bundle": "browserify ./dist/index.js --standalone Slate --outfile ./dist/slate.js",
"dist:npm": "babel --out-dir ./dist ./lib",
"dist:watch": "babel --watch --out-dir ./dist ./lib",
"examples": "browserify --debug --transform babelify ./examples/index.js --outfile ./examples/build.js",
"examples:watch": "watchify --debug --transform babelify ./examples/index.js --outfile ./examples/build.js",
"gh-pages": "gh-pages --dist ./examples",
"lint": "eslint --ignore-pattern 'build.js' '{examples,lib}/**/*.js'",
"prepublish": "npm run dist",
"start": "http-server ./examples",
"test": "mocha --compilers js:babel-core/register --reporter spec ./test/server.js"
},
"keywords": [
"canvas",
"contenteditable",
"doc",
"docs",
"document",
"edit",
"editor",
"html",
"immutable",
"markdown",
"medium",
"paper",
"react",
"rich",
"rich-text",
"richtext",
"slate",
"text",
"wysiwyg",
"wysiwym"
]
}