forked from ethersphere/bee-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
134 lines (134 loc) · 4.35 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "@ethersphere/bee-js",
"version": "6.7.2",
"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",
"browser": {
"stream": false,
"./src/utils/data.ts": "./src/utils/data.browser.ts",
"./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/collection.node.js": "./dist/cjs/utils/collection.browser.js",
"./dist/mjs/utils/collection.node.js": "./dist/mjs/utils/collection.browser.js",
"./src/utils/collection.node.ts": "./src/utils/collection.browser.ts"
},
"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",
"mock-ci": "npm run lint:check && npm run check:types && npm run test",
"test": "mocha",
"check:types": "tsc --project tsconfig.test.json",
"lint": "eslint --fix \"src/**/*.ts\" \"test/**/*.ts\" && prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint:check": "eslint \"src/**/*.ts\" \"test/**/*.ts\" && prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"depcheck": "depcheck .",
"bee": "npx bee-factory start"
},
"dependencies": {
"@ethersphere/swarm-cid": "^0.1.0",
"@types/readable-stream": "^2.3.13",
"axios": "^0.27.2",
"cafe-utility": "^10.8.1",
"elliptic": "^6.5.4",
"fetch-blob": "2.1.2",
"isomorphic-ws": "^4.0.1",
"js-sha3": "^0.8.0",
"semver": "^7.3.5",
"tar-js": "^0.3.0",
"web-streams-polyfill": "^4.0.0-beta.3",
"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",
"@fluffy-spoon/substitute": "^1.208.0",
"@naholyr/cross-env": "^1.0.0",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/content-disposition": "^0.5.4",
"@types/debug": "^4.1.7",
"@types/elliptic": "^6.4.14",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.11",
"@types/semver": "^7.3.9",
"@types/sinon": "^10.0.13",
"@types/sinon-chai": "^3.2.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",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chai-parentheses": "^0.0.2",
"cross-blob": "^2.0.1",
"cross-env": "^7.0.3",
"debug": "^4.3.4",
"depcheck": "^1.4.3",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"expect": "^29.4.0",
"husky": "^8.0.1",
"mocha": "^10.2.0",
"nock": "^13.3.0",
"playwright-test": "^8.1.2",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"sinon": "^15.0.1",
"sinon-chai": "^3.7.0",
"terser-webpack-plugin": "^5.3.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^5.0.1"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0",
"beeApiVersion": "4.0.0",
"beeDebugApiVersion": "4.0.0",
"bee": "1.13.0-f1067884"
}
}