Skip to content

Commit

Permalink
add script for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed May 22, 2021
1 parent a7b34b5 commit 5027cea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
},
"scripts": {
"vscode:prepublish": "cp -r ../../README.md ../../images . && npm run compile",
"publish-extension": "vsce package && vsce publish",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts",
Expand Down
8 changes: 8 additions & 0 deletions publish
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

set -e

cd packages/extension
npm run publish-extension
cd ../runtime
npm publish

0 comments on commit 5027cea

Please sign in to comment.