mirror of
https://github.com/danbulant/markdown-wasm
synced 2026-06-13 03:31:15 +00:00
updates package.json with test script and browser product entry point
This commit is contained in:
parent
ecc956f8a2
commit
7ce2301dad
1 changed files with 3 additions and 2 deletions
|
|
@ -2,7 +2,8 @@
|
|||
"name": "markdown-wasm",
|
||||
"version": "1.0.0",
|
||||
"description": "Markdown parser and html generator implemented in WebAssembly",
|
||||
"main": "dist/markdown.js",
|
||||
"browser": "dist/markdown.js",
|
||||
"main": "dist/markdown.node.js",
|
||||
"jsnext:main": "dist/markdown.es.js",
|
||||
"module": "dist/markdown.es.js",
|
||||
"typings": "markdown.d.ts",
|
||||
|
|
@ -26,7 +27,7 @@
|
|||
"scripts": {
|
||||
"build": "wasmc",
|
||||
"build-debug": "wasmc -g",
|
||||
"test": "wasmc && bash test/test.sh",
|
||||
"test": "wasmc -quiet && bash test/test.sh >/dev/null && echo OK",
|
||||
"update-web": "cp dist/markdown.js dist/markdown.wasm docs/"
|
||||
},
|
||||
"author": "Rasmus Andersson <https://rsms.me/>",
|
||||
|
|
|
|||
Loading…
Reference in a new issue