mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-17 20:51:20 +02:00
fix release script, update code highlighting example
This commit is contained in:
@@ -94,8 +94,8 @@ function codeBlockDecorator(text, block) {
|
||||
const schema = {
|
||||
nodes: {
|
||||
code: {
|
||||
component: CodeBlock,
|
||||
decorator: codeBlockDecorator,
|
||||
render: CodeBlock,
|
||||
decorate: codeBlockDecorator,
|
||||
}
|
||||
},
|
||||
marks: {
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user