Skip to content

Commit

Permalink
updates package.json with test script and browser product entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
rsms committed Oct 15, 2020
1 parent ecc956f commit 7ce2301
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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/>",
Expand Down

0 comments on commit 7ce2301

Please sign in to comment.