{
    "name": "@iota/sdk-wasm",
    "version": "1.1.3",
    "description": "WebAssembly bindings for the IOTA SDK library",
    "repository": {
        "type": "git",
        "url": "https://github.com/iotaledger/iota-sdk"
    },
    "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 --profile=production --target wasm32-unknown-unknown",
        "build:nodejs": "node ./build_scripts/copyNodejsDefs.js && npm run build:src && npm run bundle:nodejs && wasm-opt -O node/wasm/iota_sdk_wasm_bg.wasm -o node/wasm/iota_sdk_wasm_bg.wasm",
        "build:web": "node ./build_scripts/copyNodejsDefs.js && npm run build:src && npm run bundle:web && wasm-opt -O web/wasm/iota_sdk_wasm_bg.wasm -o web/wasm/iota_sdk_wasm_bg.wasm",
        "bundle:nodejs": "wasm-bindgen ../../target/wasm32-unknown-unknown/production/iota_sdk_wasm.wasm --typescript --weak-refs --target nodejs --out-dir node/wasm && node ./build_scripts/node && tsc --project tsconfig.node.json --outDir node/lib",
        "bundle:web": "wasm-bindgen ../../target/wasm32-unknown-unknown/production/iota_sdk_wasm.wasm --typescript --weak-refs --target web --out-dir web/wasm && node ./build_scripts/web && tsc --project tsconfig.web.json --outDir web/lib",
        "copy-nodejs-defs": "node ./build_scripts/copyNodejsDefs.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",
        "test2": "npm run bundle:nodejs && wasm-opt -O node/wasm/iota_sdk_wasm_bg.wasm -o node/wasm/iota_sdk_wasm_bg.wasm"
    },
    "dependencies": {
        "class-transformer": "^0.5.1",
        "node-fetch": "^2.6.7",
        "qs": "^6.9.7",
        "reflect-metadata": "^0.1.13",
        "semver": "^7.5.2",
        "text-encoding": "^0.7.0"
    },
    "devDependencies": {
        "@types/jest": "^27.5.2",
        "@typescript-eslint/eslint-plugin": "^5.31.0",
        "@typescript-eslint/parser": "^5.31.0",
        "copy-webpack-plugin": "^11.0.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.24.0",
        "typedoc-plugin-markdown": "^3.13.4",
        "typescript": "^4.7.4",
        "wasm-opt": "^1.3.0"
    },
    "resolutions": {
        "decode-uri-component": "^0.2.1",
        "express": "^4.17.3",
        "minimist": "^1.2.6",
        "qs": "^6.9.7",
        "json5": "^2.2.2",
        "semver": "^7.5.2",
        "tough-cookie": "^4.1.3",
        "word-wrap": "^1.2.4",
        "@babel/traverse": "^7.23.2"
    },
    "engines": {
        "node": ">=16"
    },
    "optionalDependencies": {
        "fsevents": "^2.3.2"
    }
}
