1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-16 12:14:14 +02:00

fix release script, update code highlighting example

This commit is contained in:
Ian Storm Taylor
2016-08-15 14:44:44 -07:00
parent 3e4fdcbfbf
commit d49b792e99
2 changed files with 3 additions and 3 deletions

View File

@@ -94,8 +94,8 @@ function codeBlockDecorator(text, block) {
const schema = {
nodes: {
code: {
component: CodeBlock,
decorator: codeBlockDecorator,
render: CodeBlock,
decorate: codeBlockDecorator,
}
},
marks: {

View File

@@ -87,7 +87,7 @@
"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",
"publish": "np",
"release": "np",
"start": "http-server ./examples",
"test": "npm-run-all lint dist:npm tests",
"tests": "mocha --compilers js:babel-core/register --reporter spec ./test/server.js",