{
  "name": "@iota/iota-client-wasm",
  "version": "0.5.0-alpha.6",
  "description": "WebAssembly bindings for the IOTA client library",
  "repository": {
    "type": "git",
    "url": "https://github.com/iotaledger/iota.rs"
  },
  "author": "IOTA Foundation <contact@iota.org>",
  "license": "Apache-2.0",
  "publishConfig": {
    "access": "public"
  },
  "files": [
    "web/*",
    "node/*",
    "!web/test/",
    "!node/test/"
  ],
  "scripts": {
    "build": "npm run build:nodejs && npm run build:web",
    "build:src": "cargo build --lib --release --target wasm32-unknown-unknown",
    "build:nodejs": "node ./build_scripts/copyNeonDefs.js && npm run build:src && npm run bundle:nodejs && wasm-opt -O node/wasm/client_wasm_bg.wasm -o node/wasm/client_wasm_bg.wasm",
    "build:web": "node ./build_scripts/copyNeonDefs.js && npm run build:src && npm run bundle:web && wasm-opt -O web/wasm/client_wasm_bg.wasm -o web/wasm/client_wasm_bg.wasm",
    "bundle:nodejs": "wasm-bindgen target/wasm32-unknown-unknown/release/client_wasm.wasm --typescript --weak-refs --target nodejs --out-dir node/wasm && node ./build_scripts/node && tsc --project tsconfig.node.json --outDir node",
    "bundle:web": "wasm-bindgen target/wasm32-unknown-unknown/release/client_wasm.wasm --typescript --weak-refs --target web --out-dir web/wasm && node ./build_scripts/web && tsc --project tsconfig.web.json --outDir web",
    "copy-neon-defs": "node ./build_scripts/copyNeonDefs.js",
    "lint": "eslint --ignore-path .eslintignore --ext .js,.ts .",
    "format": "prettier --ignore-path .eslintignore -w {,*/**/}*.{ts,js,json}",
    "format-check": "prettier --ignore-path .eslintignore -c {,*/**/}*.{ts,js,json}",
    "docs-wiki-build": "typedoc --githubPages false --disableSources --excludePrivate --excludeInternal --excludeNotDocumented --plugin typedoc-plugin-markdown --theme markdown --hideBreadcrumbs --entryDocument api_ref.md --readme none --hideGenerator --sort source-order --exclude ./**/src/index.ts --out ../../documentation/docs/libraries/wasm/references/ ./lib/index.ts",
    "test": "jest --forceExit"
  },
  "dependencies": {
    "@iota/types": "^1.0.0-beta.11",
    "node-fetch": "^2.6.7",
    "text-encoding": "^0.7.0"
  },
  "devDependencies": {
    "@types/jest": "^27.5.2",
    "@typescript-eslint/eslint-plugin": "^5.31.0",
    "@typescript-eslint/parser": "^5.31.0",
    "dotenv": "^16.0.1",
    "eslint": "^8.20.0",
    "eslint-config-prettier": "^8.5.0",
    "fs-extra": "^10.1.0",
    "jest": "^27.5.1",
    "jest-matcher-utils": "^28.1.3",
    "prettier": "^2.7.1",
    "ts-jest": "^27.1.5",
    "ts-node": "^10.9.1",
    "typedoc": "^0.23.9",
    "typedoc-plugin-markdown": "^3.13.4",
    "typescript": "^4.7.4",
    "wasm-opt": "^1.3.0"
  },
  "engines": {
    "node": ">=16"
  }
}
