Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
dist/
.pnp.*
.yarn/*
!.yarn/patches
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ To run the vault decryptor locally, ensure both Beefy and Browserify are install

`yarn build`

Then just include `bundle.js` in an HTML file.
This creates a `dist/` folder containing `index.html` and `bundle.js`.
21 changes: 15 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"name": "@metamask/vault-decryptor",
"version": "1.0.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that this PR is not just about making the site publishable, we are also making the package public as well. Do we want to set this version to 0.0.0? Otherwise, when we make a PR to release the package, the version won't be changed (or maybe it will, but it might go from 1.0.0 to something 0.1.0 which would be strange).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much! Updated version to 0.0.0

"private": true,
"description": "Utility for decrypting MetaMask vault data",
"main": "index.js",
"files": [
"dist"
Comment thread
Unik0rnMaggie marked this conversation as resolved.
],
Comment thread
Unik0rnMaggie marked this conversation as resolved.
"scripts": {
"build": "mkdir -p dist && browserify index.js -o dist/bundle.js && cp index.html dist/",
"build:clean": "yarn clean && yarn build",
"clean": "rimraf dist",
"prepublishOnly": "yarn build",
"start": "beefy index.js:bundle.js --live --open",
"test": "jest && jest-it-up",
"build": "browserify index.js -o bundle.js"
"test": "jest && jest-it-up"
},
"browserify": {
"transform": [
Expand Down Expand Up @@ -56,7 +60,8 @@
"brfs": "^1.4.3",
"browserify": "^17.0.0",
"jest": "^29.4.1",
"jest-it-up": "^2.1.0"
"jest-it-up": "^2.1.0",
"rimraf": "^5.0.0"
},
"directories": {
"lib": "lib"
Expand All @@ -72,5 +77,9 @@
"engines": {
"node": ">=18.0.0"
},
"packageManager": "yarn@3.4.1"
"packageManager": "yarn@3.4.1",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}
Loading