forked from cdunn/slate-code-block
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
64 lines (64 loc) · 2.18 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
{
"name": "@rocketscience/slate-code-block",
"description": "A Slate plugin to handle code blocks editing. Fork from GitbookIO/slate-edit-code",
"version": "0.2.0",
"license": "Apache-2.0",
"repository": "git://github.com/glebtv/slate-code-block.git",
"main": "./dist/index.js",
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.6.2",
"detect-indent": "^6.0.0",
"detect-newline": "^3.0.0",
"ends-with": "^1.0.1",
"is-hotkey": "^0.1.3",
"npm": "^6.9.0"
},
"peerDependencies": {
"immutable": "^4.0.0-rc.12",
"slate": "^0.47.3",
"slate-react": "^0.22.4",
"slate-schema-violations": "^0.1.39"
},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.6.2",
"@zarv1k/slate-hyperprint": "^3.0.1",
"babel-eslint": "^10.0.3",
"babelify": "^10.0.0",
"browserify": "^16.5.0",
"eslint": "^6.5.1",
"eslint-config-gitbook": "^5.0.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^3.0.1",
"expect": "^24.9.0",
"flow-bin": "^0.109.0",
"gh-pages": "^2.1.1",
"http-server": "^0.11.1",
"immutable": "^4.0.0-rc.12",
"mocha": "^6.2.1",
"prettier": "^1.13.3",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"slate": "^0.47.4",
"slate-hyperscript": "^0.13.3",
"slate-react": "^0.22.4",
"slate-schema-violations": "^0.1.39"
},
"scripts": {
"prepublish": "babel ./lib --out-dir ./dist",
"lint": "eslint ./",
"test": "mocha --require @babel/register ./tests/all.js",
"postpublish": "npm run deploy-example",
"build-example": "browserify ./example/main.js -o ./example/bundle.js -t [ babelify --presets [ @babel/preset-env @babel/preset-react ] --plugins [ @babel/plugin-proposal-class-properties @babel/plugin-transform-flow-strip-types ] ] -d",
"serve-example": "http-server ./example/ -p 8081 -c-1",
"start": "npm run build-example && npm run serve-example",
"deploy-example": "npm run build-example && gh-pages -d ./example"
},
"keywords": [
"slate"
]
}