Skip to content

Commit 25cf5f7

Browse files
committed
Added the version to the markdown parser
1 parent 56711fb commit 25cf5f7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

examples/markdown-parser/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ ${html}
114114
binds the returned string to the result div. The input and response
115115
are logged into the JavaScript console.
116116
</p>
117+
<p class="description">
118+
<b>as-bind version:</b> {asbind.version}
119+
</p>
117120
<nav class="link-row">
118121
<div>
119122
<a href="https://github.com/torch2424/as-bind">

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@
2020
"lib:js:build": "rollup -c --environment LIB,PROD",
2121
"lib:js:build:dev": "rollup -c --environment LIB,DEV",
2222
"lib:test:build": "asc test/assembly/test.ts -b test/assembly/test.wasm --validate --runtime full --debug",
23+
"lib:deploy": "np",
2324
"md:build": "run-s md:wasm:build md:ts:build md:js:build",
2425
"md:dev": "run-p lib:watch md:wasm:watch md:js:watch serve",
2526
"md:wasm:watch": "chokidar --initial \"examples/markdown-parser/assembly/**/*\" -c \"run-s md:wasm:build\"",
2627
"md:js:watch": "chokidar --initial \"examples/markdown-parser/**/*\" -c \"rollup -c --environment MD,DEV\"",
2728
"md:wasm:build": "asc examples/markdown-parser/assembly/index.ts -b dist/examples/markdown-parser/index.wasm --sourceMap dist/examples/markdown-parser/index.wasm.map --validate --runtime stub",
2829
"md:ts:build": "tsc --project examples/markdown-parser/assembly/ --outDir dist/ --module \"es2015\"",
29-
"md:js:build": "rollup -c --environment MD,PROD"
30+
"md:js:build": "rollup -c --environment MD,PROD",
31+
"md:deploy": "run-s build md:build md:deploy:gh-pages",
32+
"md:deploy:gh-pages": "gh-pages -d dist/examples/markdown-parser"
3033
},
3134
"husky": {
3235
"hooks": {

0 commit comments

Comments
 (0)