@ethersphere/bee-js
Version:
Javascript client for Bee
109 lines (108 loc) • 3.56 kB
JSON
{
"name": "@ethersphere/bee-js",
"version": "9.8.1",
"description": "Javascript client for Bee",
"keywords": [
"bee",
"swarm",
"decentralised",
"storage",
"ethereum",
"typescript",
"p2p",
"browser",
"node"
],
"homepage": "https://github.com/ethersphere/bee-js",
"bugs": {
"url": "https://github.com/ethersphere/bee-js/issues/"
},
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/ethersphere/bee-js.git"
},
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
"engines": {
"bee": "2.4.0-390a402e",
"beeApiVersion": "7.2.0"
},
"types": "dist/types/index.d.ts",
"browser": {
"stream": false,
"fs": false,
"./dist/cjs/utils/data.js": "./dist/cjs/utils/data.browser.js",
"./dist/mjs/utils/data.js": "./dist/mjs/utils/data.browser.js",
"./dist/cjs/utils/chunk-stream.js": "./dist/cjs/utils/chunk-stream.browser.js",
"./dist/mjs/utils/chunk-stream.js": "./dist/mjs/utils/chunk-stream.browser.js",
"./dist/cjs/utils/collection.node.js": "./dist/cjs/utils/collection.browser.js",
"./dist/mjs/utils/collection.node.js": "./dist/mjs/utils/collection.browser.js"
},
"files": [
"dist"
],
"scripts": {
"prepublishOnly": "cross-env NODE_ENV=production npm run build",
"build": "rimraf dist && npm run build:node && npm run build:types && npm run build:browser",
"build:node": "tsc -p tsconfig.json && tsc -p tsconfig-mjs.json && ./build-fixup && babel --plugins \"babel-plugin-add-import-extension\" --out-dir dist/mjs/ dist/mjs/",
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist/types",
"build:browser": "webpack --progress",
"test": "jest --config=jest.config.ts --runInBand --verbose --forceExit",
"check": "tsc --project tsconfig.test.json",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\" && prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"depcheck": "depcheck ."
},
"dependencies": {
"axios": "^0.30.0",
"cafe-utility": "^31.0.0",
"debug": "^4.4.1",
"isomorphic-ws": "^4.0.1",
"semver": "^7.3.5",
"ws": "^8.7.0"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.20.5",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.4.2",
"@jest/types": "^29.6.3",
"@naholyr/cross-env": "^1.0.0",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.13",
"@types/node": "^18.11.11",
"@types/semver": "^7.3.9",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"babel-loader": "^9.1.0",
"babel-plugin-add-import-extension": "^1.6.0",
"cross-env": "^7.0.3",
"depcheck": "^1.4.7",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.1",
"jest": "^29.7.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"terser-webpack-plugin": "^5.3.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
}
}