@golem-sdk/golem-js
Version:
NodeJS and WebBrowser SDK for building apps running on Golem Network
141 lines (140 loc) • 4.72 kB
JSON
{
"name": "@golem-sdk/golem-js",
"version": "3.6.0",
"description": "NodeJS and WebBrowser SDK for building apps running on Golem Network",
"repository": "https://github.com/golemfactory/golem-js",
"keywords": [
"golem",
"network",
"distributed",
"computing",
"sdk",
"internet",
"computer",
"marketplace"
],
"main": "dist/golem-js.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"browser": "./dist/golem-js.min.js",
"import": "./dist/golem-js.mjs",
"require": "./dist/golem-js.js"
},
"./experimental": {
"types": "./dist/experimental/index.d.ts",
"browser": null,
"import": "./dist/golem-js-experimental.mjs",
"require": "./dist/golem-js-experimental.js"
}
},
"browser": "dist/golem-js.min.js",
"module": "dist/golem-js.mjs",
"types": "dist/index.d.ts",
"jsdelivr": "dist/golem-js.min.js",
"unpkg": "dist/golem-js.min.js",
"scripts": {
"build": "rollup -c --forceExit",
"dev": "rollup -c -w",
"docs": "typedoc src/ --plugin typedoc-plugin-merge-modules --plugin typedoc-theme-hierarchy --out api-reference",
"docs:md": "typedoc src/ --plugin typedoc-plugin-markdown --plugin .typedoc/typedoc-frontmatter-theme.cjs --hideBreadcrumbs true --out api-reference && node .typedoc/summary-generator.cjs",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest --config tests/jest.config.json",
"test:e2e": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --config tests/e2e/jest.config.json tests/e2e/**.spec.ts --runInBand --forceExit",
"test:cypress": "cypress run",
"test:examples": "tsx tests/examples/examples.test.ts",
"test:import": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config tests/import/jest.config.js",
"lint": "npm run lint:ts && npm run lint:ts:tests && npm run lint:eslint",
"lint:ts": "tsc --project tsconfig.json --noEmit",
"lint:ts:tests": "tsc --project tests/tsconfig.json --noEmit",
"lint:eslint": "eslint .",
"format": "prettier -w .",
"format:check": "prettier -c .",
"prepare": "husky install",
"lint:full": "npm run lint && npm run build && npm run lint -w examples"
},
"files": [
"dist"
],
"author": "GolemFactory <contact@golem.network>",
"license": "LGPL-3.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"async-lock": "^1.4.1",
"async-retry": "^1.3.3",
"cross-spawn": "^7.0.3",
"debug": "^4.3.7",
"decimal.js-light": "^2.5.1",
"eventemitter3": "^5.0.1",
"eventsource": "^2.0.2",
"flatbuffers": "^24.3.25",
"ip-num": "^1.5.1",
"js-sha3": "^0.9.3",
"rxjs": "^7.8.2",
"semver": "^7.6.3",
"tmp": "^0.2.3",
"uuid": "^10.0.0",
"ws": "^8.18.0",
"ya-ts-client": "^1.1.3"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@johanblumenberg/ts-mockito": "^1.0.45",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/async-lock": "^1.4.2",
"@types/async-retry": "^1.4.9",
"@types/cross-spawn": "^6.0.6",
"@types/debug": "^4.1.12",
"@types/eventsource": "^1.1.15",
"@types/jest": "^29.5.13",
"@types/node": "^18.19.55",
"@types/semver": "^7.5.8",
"@types/supertest": "^6.0.2",
"@types/tmp": "^0.2.6",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"cypress": "^13.15.0",
"cypress-log-to-output": "^1.1.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"prettier": "^3.3.3",
"rollup": "^4.24.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-ignore": "^1.0.10",
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-visualizer": "^5.12.0",
"semantic-release": "^23.1.1",
"supertest": "^6.3.4",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"tsconfig-paths": "^4.2.0",
"tslint-config-prettier": "^1.18.0",
"tsx": "^4.19.1",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^3.17.1",
"typedoc-plugin-merge-modules": "^5.1.0",
"typedoc-theme-hierarchy": "4.1.2",
"typescript": "^5.4.5"
},
"optionalDependencies": {
"@rollup/rollup-darwin-x64": "^4",
"@rollup/rollup-win32-arm64-msvc": "^4",
"@rollup/rollup-win32-x64-msvc": "^4"
},
"workspaces": [
"examples/"
]
}