mirror of
https://github.com/danbulant/markdown-wasm
synced 2026-06-24 09:12:26 +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",
|
"name": "markdown-wasm",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Markdown parser and html generator implemented in WebAssembly",
|
"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",
|
"jsnext:main": "dist/markdown.es.js",
|
||||||
"module": "dist/markdown.es.js",
|
"module": "dist/markdown.es.js",
|
||||||
"typings": "markdown.d.ts",
|
"typings": "markdown.d.ts",
|
||||||
|
|
@ -26,7 +27,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "wasmc",
|
"build": "wasmc",
|
||||||
"build-debug": "wasmc -g",
|
"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/"
|
"update-web": "cp dist/markdown.js dist/markdown.wasm docs/"
|
||||||
},
|
},
|
||||||
"author": "Rasmus Andersson <https://rsms.me/>",
|
"author": "Rasmus Andersson <https://rsms.me/>",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue