{
  "name": "@enjin-protos/snap",
  "version": "0.1.5",
  "description": "MetaMask snap for interacting with Enjin dApps",
  "main": "dist/bundle.js",
  "scripts": {
    "lint": "yarn run lint:types && yarn run lint:style",
    "lint:types": "tsc --noEmit --pretty",
    "lint:style": "eslint 'src/**/*.{js,ts,tsx}' --fix",
    "lint:fix": "yarn run lint --fix",
    "start": "yarn run build && yarn run serve",
    "prebuild": "rm -rf build dist ipfs",
    "type-check": "tsc --noEmit",
    "type-check:watch": "npm run type-check -- --watch",
    "build": "yarn run build:tsc && yarn run build:snap",
    "build:tsc": "tsc --pretty --project tsconfig.build.json",
    "build:snap": "yarn build:snap:bundle && yarn build:snap:postprocess && yarn build:snap:eval",
    "build:snap:bundle": "mm-snap build -s build/index.js --verboseErrors --transpilationMode localAndDeps --stripComments --eval false",
    "build:snap:postprocess": "mm-snap manifest --fix",
    "build:snap:eval": "mm-snap eval -b dist/bundle.js --verboseErrors",
    "snapEval": "mm-snap eval",
    "watch": "concurrently  --raw --kill-others \"yarn run watch:tsc\" \"yarn run watch:snap\" \"yarn run serve\"",
    "watch:tsc": "yarn run build:tsc --watch",
    "watch:snap": "mm-snap watch",
    "prepublish": "yarn run build && mm-snap manifest",
    "publish": "export BUNDLE_URL=`ipd --no-clipboard -O -p infura dist/bundle.js` && sed -i 's/http:\\/\\/localhost:8080\\/dist\\/bundle.js/https:\\/\\/ipfs.infura.io\\/ipfs\\/'\"$BUNDLE_URL\"'/g' ipfs/package.json && ipd --no-clipboard -O -p infura ipfs/package.json",
    "postpublish": "rm -rf ipfs",
    "serve": "mm-snap serve",
    "test": "yarn run test:unit",
    "test:unit": "mocha --colors"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/enjin/metamask-snap-enjin.git"
  },
  "keywords": [
    "enjin",
    "metamask",
    "snap",
    "plugin",
    "dapp",
    "wallet"
  ],
  "author": "Enjin <contact@enjin.io>",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/enjin/metamask-snap-enjin/issues"
  },
  "homepage": "https://github.com/enjin/metamask-snap-enjin#readme",
  "web3Wallet": {
    "bundle": {
      "local": "dist/bundle.js",
      "url": "http://localhost:8080/dist/bundle.js"
    },
    "initialPermissions": {
      "alert": {},
      "confirm": {},
      "getPluginState": {},
      "updatePluginState": {},
      "wallet_manageAssets": {}
    }
  },
  "devDependencies": {
    "@enjin-protos/metamask-enjin-types": "^0.1.0",
    "@metamask/snaps-cli": "^6.5.2",
    "@types/big.js": "^6",
    "@types/chai": "^4.2.10",
    "@types/mocha": "^10.0.1",
    "@types/sinon": "^7.5.2",
    "@types/sinon-chai": "^3.2.3",
    "@typescript-eslint/eslint-plugin": "^5.27.1",
    "@typescript-eslint/parser": "^5.27.1",
    "chai": "^4.2.0",
    "concurrently": "^5.1.0",
    "eslint": "^8.17.0",
    "mocha": "10.1.0",
    "sinon": "^9.0.1",
    "sinon-chai": "^3.5.0",
    "strict-event-emitter-types": "^2.0.0",
    "ts-node": "^8.6.2",
    "typescript": "4.7.3"
  },
  "dependencies": {
    "@metamask/key-tree": "^9.1.2",
    "@metamask/snaps-sdk": "^6.10.0",
    "@metamask/snaps-ui": "^3.1.0",
    "@polkadot/api": "^12.4.2",
    "@polkadot/keyring": "^13.0.2",
    "@polkadot/types": "^12.4.2",
    "@polkadot/util": "^13.0.2",
    "big.js": "^6.2.2",
    "deepmerge": "^4.3.1",
    "flat": "^6.0.1",
    "superstruct": "^2.0.2"
  }
}