Commit 308af408 authored by Aral Balkan's avatar Aral Balkan
Browse files

Add npm build task

parent c3c1bb10
......@@ -24,7 +24,8 @@
"type": "module",
"scripts": {
"test": "node test/index.js | npx tap-spec",
"coverage": "npx c8 --exclude='lib/LineByLine.js' --exclude='test/**' node test/index.js | npx tap-nyc"
"coverage": "npx c8 --exclude='lib/LineByLine.js' --exclude='test/**' node test/index.js | npx tap-nyc",
"build": "npx esbuild index.js --bundle --platform=node --format=esm --outfile=dist/index.js"
},
"funding": {
"type": "foundation",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment