1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-01 05:16:10 +01:00
slate/package.json

137 lines
4.8 KiB
JSON
Raw Normal View History

2016-06-15 12:07:12 -07:00
{
2016-07-06 17:22:45 -07:00
"name": "slate",
2016-07-20 11:26:39 -07:00
"description": "A completely customizable framework for building rich text editors.",
2016-10-26 13:02:01 -07:00
"version": "0.14.16",
2016-07-06 17:22:45 -07:00
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
2016-09-14 01:57:52 +02:00
"main": "./lib/index.js",
2016-06-15 12:07:12 -07:00
"dependencies": {
"cheerio": "^0.22.0",
"debug": "^2.2.0",
2016-06-15 12:07:12 -07:00
"detect-browser": "^1.3.3",
"direction": "^0.1.5",
"esrever": "^0.2.0",
"get-window": "^1.1.1",
"immutable": "^3.8.1",
"is-empty": "^1.0.0",
2016-06-15 12:07:12 -07:00
"keycode": "^2.1.2",
"lodash": "^4.13.1",
"type-of": "^2.0.1",
2016-06-16 09:24:18 -07:00
"ua-parser-js": "^0.7.10",
"uid": "0.0.2"
2016-06-15 12:07:12 -07:00
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0",
"react-dom": "^0.14.0 || ^15.0.0"
},
2016-06-15 12:07:12 -07:00
"devDependencies": {
2016-06-17 19:57:37 -07:00
"babel-cli": "^6.10.1",
2016-06-15 12:07:12 -07:00
"babel-core": "^6.9.1",
2016-07-06 20:19:19 -07:00
"babel-eslint": "^6.1.0",
2016-06-15 12:07:12 -07:00
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babelify": "^7.3.0",
"benchmark": "^2.1.1",
2016-06-15 12:07:12 -07:00
"browserify": "^13.0.1",
"browserify-global-shim": "^1.0.3",
2016-07-29 10:46:31 -07:00
"browserify-shim": "^3.8.12",
"disc": "^1.3.2",
2016-07-29 10:46:31 -07:00
"envify": "^3.4.1",
2016-08-14 13:21:46 -07:00
"enzyme": "^2.4.1",
"eslint": "^3.8.1",
"eslint-plugin-import": "^2.0.1",
"eslint-plugin-react": "^6.4.1",
"fbjs": "^0.8.3",
"gh-pages": "^0.11.0",
2016-07-11 12:34:22 -07:00
"http-server": "^0.9.0",
"is-image": "^1.0.1",
2016-07-18 13:06:10 -07:00
"is-url": "^1.2.2",
"jsdom": "9.6.0",
"jsdom-global": "2.1.0",
"microtime": "2.1.1",
2016-06-15 12:07:12 -07:00
"mocha": "^2.5.3",
2016-08-14 18:33:41 -07:00
"np": "^2.9.0",
"npm-run-all": "^2.3.0",
"prismjs": "^1.5.1",
"react": "^15.2.0",
2016-07-11 12:34:22 -07:00
"react-addons-perf": "^15.2.1",
2016-08-14 13:21:46 -07:00
"react-addons-test-utils": "^15.3.0",
2016-06-15 12:07:12 -07:00
"react-dom": "^15.1.0",
2016-08-14 02:17:44 +03:00
"react-frame-aware-selection-plugin": "0.0.5",
2016-08-03 03:31:26 +03:00
"react-frame-component": "^0.6.2",
"react-portal": "^2.2.0",
2016-06-24 10:22:48 -07:00
"react-router": "^2.5.1",
2016-06-22 18:42:49 -07:00
"read-metadata": "^1.0.0",
2016-06-28 15:47:29 -07:00
"selection-position": "^1.0.0",
2016-07-28 16:47:50 -07:00
"slate-auto-replace-text": "^0.3.0",
"slate-collapse-on-escape": "^0.2.0",
"slate-soft-break": "^0.2.0",
"source-map-support": "^0.4.0",
2016-06-22 18:42:49 -07:00
"to-camel-case": "^1.0.0",
2016-06-24 10:22:48 -07:00
"to-title-case": "^1.0.0",
2016-07-29 10:46:31 -07:00
"uglify-js": "^2.7.0",
"uglifyify": "^3.0.2",
2016-07-06 20:19:19 -07:00
"watchify": "^3.7.0"
2016-07-06 17:22:45 -07:00
},
2016-07-21 12:51:34 -07:00
"scripts": {
2016-09-14 01:57:52 +02:00
"clean": "rm -rf ./lib ./node_modules ./examples/build.dev.js ./examples/build.prod.js",
2016-09-14 02:38:56 +02:00
"disc": "npm-run-all build disc:build disc:open",
2016-09-14 01:57:52 +02:00
"disc:build": "mkdir -p ./tmp && browserify ./lib/index.js --full-paths > ./tmp/build.js",
2016-07-21 12:51:34 -07:00
"disc:open": "discify ./tmp/build.js --open",
"build": "mkdir -p ./dist && npm-run-all build:npm build:max build:min",
"build:max": "NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --standalone Slate > ./dist/slate.js",
"build:min": "NODE_ENV=production browserify ./src/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --transform uglifyify --standalone Slate | uglifyjs > ./dist/slate.min.js",
2016-09-14 02:05:47 +02:00
"build:npm": "babel --out-dir ./lib ./src",
2016-11-03 00:04:08 +01:00
"build:test": "babel --out-dir ./lib ./src --source-maps inline",
"examples": "npm-run-all examples:dev examples:prod",
"examples:dev": "browserify --debug --transform babelify ./examples/index.js > ./examples/build.dev.js",
"examples:prod": "NODE_ENV=production browserify --transform babelify ./examples/index.js > ./examples/build.prod.js",
2016-09-22 16:11:34 -07:00
"gh-pages": "npm run build && npm run examples && gh-pages --dist ./examples",
2016-09-14 01:57:52 +02:00
"lint": "eslint --ignore-pattern 'build.dev.js' --ignore-pattern 'build.prod.js' '{examples,src}/**/*.js'",
"open": "open http://localhost:8080/dev.html",
2016-11-03 10:34:10 +01:00
"perf": "npm-run-all build:npm benchmarks",
"perf:save": "npm-run-all build:npm benchmarks:save",
"benchmarks": "babel-node ./perf/index.js --compare ./perf/reference.json",
"benchmarks:save": "babel-node ./perf/index.js --output ./perf/reference.json",
2016-09-14 02:38:56 +02:00
"prepublish": "npm run build",
2016-09-26 21:44:42 -07:00
"postpublish": "npm run gh-pages",
"release": "np",
2016-09-10 17:25:20 -07:00
"release:next": "np --tag=next",
"start": "http-server ./examples",
2016-11-03 00:04:08 +01:00
"test": "npm-run-all build:test tests",
"tests": "mocha --compilers js:babel-core/register --reporter spec ./test/server.js",
2016-09-14 01:57:52 +02:00
"watch": "npm-run-all --parallel --print-label watch:lib watch:examples start",
"watch:lib": "babel --watch --out-dir ./lib ./src",
2016-08-09 02:10:12 +07:00
"watch:examples": "watchify --debug --transform babelify ./examples/index.js -o ./examples/build.dev.js"
2016-07-21 12:51:34 -07:00
},
"browserify-global-shim": {
"immutable": "Immutable",
"react": "React",
"react-dom": "ReactDOM",
"react-dom/server": "ReactDOMServer"
2016-07-29 10:46:31 -07:00
},
2016-07-06 17:22:45 -07:00
"keywords": [
"canvas",
"contenteditable",
"doc",
"docs",
"document",
"edit",
"editor",
"html",
2016-07-12 22:40:32 -07:00
"immutable",
2016-07-06 17:22:45 -07:00
"markdown",
"medium",
"paper",
"react",
"rich",
"rich-text",
"richtext",
2016-07-21 15:06:27 -07:00
"slate",
2016-07-06 17:22:45 -07:00
"text",
"wysiwyg",
"wysiwym"
]
2016-06-15 12:07:12 -07:00
}