Skip to content

Commit ff3f5e3

Browse files
committed
feat: add deploy task for publishing to npm
1 parent fb3d3ea commit ff3f5e3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

deno.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"license": "MIT",
66
"tasks": {
77
"build": "deno run -A dnt.ts",
8+
"deploy": {
9+
"command": "cd dist/ && npm publish",
10+
"dependencies": ["build"]
11+
},
812
"dev": "deno run --allow-all src/index.ts",
913
"check": "deno check src/index.ts",
1014
"lint": "deno lint",

0 commit comments

Comments
 (0)