{
  "name": "nearlib",
  "description": "Javascript library to interact with NEAR blockchain",
  "version": "0.22.0",
  "repository": {
    "type": "git",
    "url": "git@:nearprotocol/nearcore.git"
  },
  "homepage": "https://github.com/nearprotocol/nearlib",
  "main": "lib/index.js",
  "types": "lib/index.d.ts",
  "dependencies": {
    "@types/bn.js": "^4.11.5",
    "bn.js": "^5.0.0",
    "bs58": "^4.0.0",
    "error-polyfill": "^0.1.2",
    "http-errors": "^1.7.2",
    "js-sha256": "^0.9.0",
    "mustache": "^4.0.0",
    "node-fetch": "^2.3.0",
    "text-encoding-utf-8": "^1.0.2",
    "tweetnacl": "^1.0.1"
  },
  "devDependencies": {
    "@types/http-errors": "^1.6.1",
    "@typescript-eslint/eslint-plugin": "^2.18.0",
    "@typescript-eslint/parser": "^2.18.0",
    "browserify": "^16.2.3",
    "bundlewatch": "^0.2.5",
    "eslint": "^6.5.1",
    "in-publish": "^2.0.0",
    "jest": "^25.1.0",
    "localstorage-memory": "^1.0.3",
    "near-hello": "^0.4.0-preview",
    "rimraf": "^3.0.0",
    "semver": "^7.1.1",
    "ts-morph": "^7.0.0",
    "typedoc": "^0.16.5",
    "typedoc-plugin-markdown": "^2.2.6",
    "typescript": "^3.5.1",
    "uglifyify": "^5.0.1"
  },
  "jest": {
    "testEnvironment": "node",
    "coverageDirectory": "./coverage/",
    "collectCoverage": true
  },
  "keywords": [],
  "license": "MIT",
  "scripts": {
    "dist": "yarn browserify && yarn doc",
    "browserify": "browserify browser-exports.js -i node-fetch -i http -i https -o dist/nearlib.js && browserify browser-exports.js -i node-fetch -g uglifyify -o dist/nearlib.min.js",
    "prebrowserify": "yarn build",
    "prepublish": "not-in-install && (yarn build && yarn browserify) || in-install",
    "compile": "tsc -p ./tsconfig.json",
    "dev": "yarn compile -w",
    "build": "yarn compile",
    "pretest": "yarn build",
    "test": "jest test --runInBand",
    "lint": "eslint test && eslint src.ts/**/*.ts",
    "fix": "eslint test --fix && eslint src.ts/**/*.ts --fix",
    "doc": "typedoc --out docs/nearlib --theme docusaurus src.ts/ --hideBreadcrumbs",
    "prefuzz": "yarn build",
    "fuzz": "jsfuzz test/fuzz/borsh-roundtrip.js test/fuzz/corpus/"
  },
  "bundlewatch": {
    "files": [
      {
        "path": "dist/nearlib.min.js",
        "maxSize": "85kB"
      }
    ]
  },
  "author": "NEAR Inc"
}
