{
  "name": "@solana-tools/solsnap",
  "version": "0.1.0",
  "license": "(Apache-2.0 AND MIT)",
  "description": "Solsnap - Metamask snap to interact with Solana dapps.",
  "private": false,
  "main": "build/index.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",
    "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
    "start": "yarn run build && yarn run serve",
    "prebuild": "rm -rf build && rm -rf dist",
    "type-check": "tsc --noEmit",
    "type-check:watch": "npm run type-check -- --watch",
    "build": "yarn run build:tsc && yarn run build:snap",
    "build:tsc": "tsc -p tsconfig.build.json --pretty --outDir build",
    "build:snap": "nf-snap build --stripComments --debug --verbose",
    "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": "nf-snap watch --debug -s build/index.js",
    "serve": "nf-snap serve",
    "test": "yarn run test:unit",
    "test:unit": "mocha --colors -r ts-node/register \"test/unit/**/*.test.ts\"",
    "prepublish": "yarn run build && mkdir ipfs && cp package.json ipfs/package.json",
    "publish": "export BUNDLE_URL=`ipd --no-clipboard -O -p infura dist/bundle.js` && sed -i 's/http:\\/\\/localhost:8081\\/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"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cavanmflynn/solsnap.git"
  },
  "keywords": [
    "solana",
    "metamask",
    "snap",
    "plugin",
    "dapp",
    "wallet"
  ],
  "author": "Cavan Flynn <cavanmflynn@gmail.com>",
  "bugs": {
    "url": "https://github.com/cavanmflynn/solsnap/issues"
  },
  "homepage": "https://github.com/cavanmflynn/solsnap#readme",
  "web3Wallet": {
    "bundle": {
      "local": "dist/bundle.js",
      "url": "http://localhost:8081/dist/bundle.js"
    },
    "initialPermissions": {
      "alert": {},
      "confirm": {},
      "getPluginState": {},
      "updatePluginState": {},
      "wallet_getBip44Entropy_1": {},
      "wallet_getBip44Entropy_501": {},
      "wallet_manageAssets": {}
    }
  },
  "devDependencies": {
    "@nodefactory/snaps-cli": "^1.5.0",
    "@solana-tools/solsnap-types": "^0.1.0",
    "@types/bn.js": "^4.11.6",
    "@types/chai": "^4.2.10",
    "@types/mocha": "^7.0.2",
    "@types/sinon": "^7.5.2",
    "@types/sinon-chai": "^3.2.3",
    "@typescript-eslint/eslint-plugin": "^2.22.0",
    "@typescript-eslint/parser": "^2.22.0",
    "chai": "^4.2.0",
    "concurrently": "^5.1.0",
    "eslint": "^6.8.0",
    "mocha": "^7.1.1",
    "sinon": "^9.0.1",
    "sinon-chai": "^3.5.0",
    "ts-node": "^8.6.2",
    "typescript": "^3.8.3"
  },
  "dependencies": {
    "@metamask/key-tree": "^1.0.0",
    "@solana/web3.js": "^0.83.1",
    "bn.js": "^5.1.2",
    "deepmerge": "^4.2.2"
  }
}
