forked from ianstormtaylor/slate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
121 lines (121 loc) · 4.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "slate",
"description": "A completely customizable framework for building rich text editors.",
"version": "0.12.9",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "./dist/index.js",
"dependencies": {
"cheerio": "^0.20.0",
"debug": "^2.2.0",
"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",
"keycode": "^2.1.2",
"lodash": "^4.13.1",
"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-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",
"browserify-global-shim": "^1.0.3",
"browserify-shim": "^3.8.12",
"disc": "^1.3.2",
"envify": "^3.4.1",
"eslint": "^3.0.1",
"eslint-plugin-import": "^1.10.2",
"eslint-plugin-react": "^5.2.2",
"fbjs": "^0.8.3",
"gh-pages": "^0.11.0",
"http-server": "^0.9.0",
"is-image": "^1.0.1",
"is-url": "^1.2.2",
"mocha": "^2.5.3",
"npm-run-all": "^2.3.0",
"prismjs": "^1.5.1",
"react": "^15.2.0",
"react-addons-perf": "^15.2.1",
"react-dom": "^15.1.0",
"react-frame-aware-selection-plugin": "0.0.4",
"react-frame-component": "^0.6.2",
"react-portal": "^2.2.0",
"react-router": "^2.5.1",
"read-metadata": "^1.0.0",
"selection-position": "^1.0.0",
"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",
"to-camel-case": "^1.0.0",
"to-title-case": "^1.0.0",
"uglify-js": "^2.7.0",
"uglifyify": "^3.0.2",
"watchify": "^3.7.0"
},
"scripts": {
"clean": "rm -rf ./dist ./node_modules ./examples/build.dev.js ./examples/build.prod.js",
"disc": "npm-run-all dist disc:build disc:open",
"disc:build": "mkdir -p ./tmp && browserify ./dist/index.js --full-paths > ./tmp/build.js",
"disc:open": "discify ./tmp/build.js --open",
"dist": "npm-run-all dist:npm dist:max dist:min",
"dist:max": "NODE_ENV=production browserify ./lib/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --standalone Slate > ./dist/slate.js",
"dist:min": "NODE_ENV=production browserify ./lib/index.js --transform babelify --transform envify --transform [ browserify-global-shim --global ] --transform uglifyify --standalone Slate | uglifyjs > ./dist/slate.min.js",
"dist:npm": "babel --out-dir ./dist ./lib",
"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",
"gh-pages": "npm run dist && npm run examples && gh-pages --dist ./examples",
"lint": "eslint --ignore-pattern 'build.dev.js' --ignore-pattern 'build.prod.js' '{examples,lib}/**/*.js'",
"open": "open http://localhost:8080/dev.html",
"prepublish": "npm run dist",
"start": "http-server ./examples",
"test": "npm-run-all lint dist:npm test:server",
"test:server": "mocha --compilers js:babel-core/register --reporter spec ./test/server.js",
"watch": "npm-run-all --parallel --print-label watch:dist watch:examples start",
"watch:dist": "babel --watch --out-dir ./dist ./lib",
"watch:examples": "watchify --debug --transform babelify ./examples/index.js -o ./examples/build.dev.js"
},
"browserify-global-shim": {
"immutable": "Immutable",
"react": "React",
"react-dom": "ReactDOM",
"react-dom/server": "ReactDOMServer"
},
"keywords": [
"canvas",
"contenteditable",
"doc",
"docs",
"document",
"edit",
"editor",
"html",
"immutable",
"markdown",
"medium",
"paper",
"react",
"rich",
"rich-text",
"richtext",
"slate",
"text",
"wysiwyg",
"wysiwym"
]
}