Skip to content

Commit

Permalink
Add publish script.
Browse files Browse the repository at this point in the history
Ensure the snap code is up to date before publishing to npm registry.
  • Loading branch information
tmpfs committed Feb 12, 2024
1 parent 27ea5e6 commit f4da5da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"check": "yarn types && yarn lint && yarn fmt",
"start": "yarn clean && yarn build:snap-dev && yarn dev:assets && parcel app/index.html --port 7070",
"dev:assets": "mkdir -p dist && cp -r images snap.manifest.json bundle dist/",
"tailwind": "tailwindcss -i ./app/index.css -o ./dist/styles.css"
"tailwind": "tailwindcss -i ./app/index.css -o ./dist/styles.css",
"publish": "yarn build:snap && npm publish"
},
"devDependencies": {
"@metamask/snaps-cli": "^5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.1.0",
"version": "0.1.1",
"description": "Adds multi-factor accounts to MetaMask by sharding keys using threshold signatures",
"proposedName": "Multi-Factor Accounts",
"repository": {
"type": "git",
"url": "https://github.com/mpc-sdk/multi-factor-accounts"
},
"source": {
"shasum": "sZGK82okZHOXD4WsD48Z8pJb9oXdPE/gsF5A+0tU9YU=",
"shasum": "tjOLBPtFzesdnHmd3gcr0pXymj//7BaFCNxvjAfXnUI=",
"location": {
"npm": {
"filePath": "bundle/bundle.js",
Expand Down

0 comments on commit f4da5da

Please sign in to comment.