Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Commit

Permalink
Rename to @metamask/mobile-provider (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks authored May 4, 2020
1 parent 231f4b5 commit 23f4f2e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# metamask-mobile-provider
# @metamask/mobile-provider

This package generates the javascript code that's injected on every webpage when using MetaMask Mobile.

It includes `metamask-inpage-provider` and `web3` as a dependencies and it's intended to be up to date with the latest extension implementation:

https://github.com/MetaMask/metamask-extension/blob/develop/app/scripts/contentscript.js
This package generates the JavaScript code that's injected on every web page when using MetaMask Mobile.

It includes `@metamask/inpage-provider` and `web3` as a dependencies and it's intended to be up to date with the [latest extension implementation](https://github.com/MetaMask/metamask-extension/blob/develop/app/scripts/contentscript.js).

To build this package you can run:

`yarn install`

`yarn bundle`

```shell
yarn && yarn bundle
```
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metamask-mobile-provider",
"version": "1.1.0",
"name": "@metamask/mobile-provider",
"version": "1.2.0",
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand All @@ -13,9 +13,17 @@
"lint": "eslint . --ext js,json",
"lint:fix": "eslint . --ext js,json --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MetaMask/mobile-provider.git"
},
"author": "MetaMask",
"license": "ISC",
"description": "",
"description": "The JavaScript injected into every web page in the MetaMask Mobile browser.",
"bugs": {
"url": "https://github.com/MetaMask/mobile-provider/issues"
},
"homepage": "https://github.com/MetaMask/mobile-provider#readme",
"husky": {
"hooks": {
"pre-commit": "yarn bundle"
Expand Down

0 comments on commit 23f4f2e

Please sign in to comment.