This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
executable file
·155 lines (155 loc) · 5.29 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "arbundles",
"version": "0.11.2",
"description": "Arweave bundling library",
"author": "Josh Benaron <joshbenaron@gmail.com>",
"license": "Apache-2.0",
"repository": "https://github.com/Bundlr-Network/arbundles",
"main": "build/node/cjs/index.js",
"module": "build/node/esm/index.js",
"browser": "build/web/esm/webIndex.js",
"types": "build/node/esm/index.d.ts",
"exports": {
"./file": {
"require": {
"types": "./build/node/cjs/src/file/index.d.ts",
"default": "./build/node/cjs/src/file/index.js"
},
"import": {
"types": "./build/node/esm/src/file/index.d.ts",
"default": "./build/node/esm/src/file/index.js"
}
},
"./stream": {
"require": {
"types": "./build/node/cjs/src/stream/index.d.ts",
"default": "./build/node/cjs/src/stream/index.js"
},
"import": {
"types": "./build/node/esm/src/stream/index.d.ts",
"default": "./build/node/esm/src/stream/index.js"
}
},
"./node": {
"require": {
"types": "./build/node/cjs/index.d.ts",
"default": "./build/node/cjs/index.js"
},
"import": {
"types": "./build/node/esm/index.d.ts",
"default": "./build/node/esm/index.js"
}
},
"./web": {
"require": {
"types": "./build/web/cjs/webIndex.d.ts",
"default": "./build/web/cjs/webIndex.js"
},
"import": {
"types": "./build/web/esm/webIndex.d.ts",
"default": "./build/web/esm/webIndex.js"
}
},
"./bundle": {
"types": "./build/web/esm/index.d.ts",
"default": "./build/web/bundle.js"
},
".": {
"browser": "./build/web/esm/webIndex.js",
"require": {
"types": "./build/node/cjs/index.d.ts",
"default": "./build/node/cjs/index.js"
},
"import": {
"types": "./build/node/esm/index.d.ts",
"default": "./build/node/esm/index.js"
}
},
"./*": {
"types": "./*.d.ts",
"default": "./*.js"
}
},
"files": [
"./build/**/*",
"./src/**/*"
],
"scripts": {
"build": "rm -rf ./build && concurrently \"tsc -p tsconfig.json && resolve-tspaths -p tsconfig.json && sh ./fix-pkg.sh node/esm module && yarn tsc-esm-fix --tsconfig tsconfig.json \" \"tsc -p cjs.tsconfig.json && resolve-tspaths -p cjs.tsconfig.json && sh ./fix-pkg.sh node/cjs commonjs \" \"tsc -p web.tsconfig.json && resolve-tspaths -p web.tsconfig.json && sh ./fix-pkg.sh web/esm module && yarn tsc-esm-fix --tsconfig web.tsconfig.json \" \"tsc -p web-cjs.tsconfig.json && resolve-tspaths -p web-cjs.tsconfig.json && sh ./fix-pkg.sh web/cjs commonjs\" && webpack",
"lint": "eslint ./src -c ./.eslintrc.json --ext .ts,.tsx",
"lint:fix": "eslint ./src -c ./.eslintrc.json --ext .ts,.tsx --fix",
"test": "jest --coverage",
"watch": "tsc --watch -p tsconfig.json",
"webpack:analyze": "webpack --profile --json /tmp/wp.json && webpack-bundle-analyzer /tmp/wp.json",
"husky-install": "(node -e \"if (!require('fs').existsSync(__dirname + '/.git')) {process.exit(1)}\" && husky install || true)",
"ensure-build": "(node -e \"if (!require('fs').existsSync(__dirname + '/build')) {process.exit(1)}\" || yarn run build)",
"prepack": "yarn run ensure-build",
"prepare": "yarn run ensure-build"
},
"devDependencies": {
"@solana/wallet-adapter-base": "^0.9.23",
"@types/bs58": "^4.0.1",
"@types/jest": "^29.2.5",
"@types/multistream": "^2.1.1",
"@types/node": "^17.0.10",
"@types/secp256k1": "^4.0.3",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"aptos": "^1.3.13",
"arconnect": "^0.4.2",
"assert": "^2.0.0",
"avsc": "https://github.com/Bundlr-Network/avsc#csp-fixes",
"browserify-zlib": "^0.2.0",
"concurrently": "^8.0.1",
"crypto-browserify": "^3.12.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "~8.3.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "~24.3.6",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^7.0.0",
"inspectpack": "^4.7.1",
"jest": "^29.3.1",
"object-sizeof": "^1.6.1",
"path-browserify": "^1.0.1",
"perf_hooks": "^0.0.1",
"prettier": "~2.3.0",
"pretty-quick": "^3.1.2",
"process": "^0.11.10",
"resolve-tspaths": "^0.8.8",
"rimraf": "~3.0.2",
"stream-browserify": "^3.0.0",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.1",
"ts-node": "^10.8.1",
"tsc-esm-fix": "^2.20.12",
"tslib": "^2.4.0",
"tsutils": "~3.21.0",
"typescript": "^4.9.3",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.0.0"
},
"dependencies": {
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/hash": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@ethersproject/signing-key": "^5.7.0",
"@ethersproject/transactions": "^5.7.0",
"@ethersproject/wallet": "^5.7.0",
"@irys/arweave": "^0.0.2",
"@noble/ed25519": "^1.6.1",
"base64url": "^3.0.1",
"bs58": "^4.0.1",
"keccak": "^3.0.2",
"secp256k1": "^5.0.0"
},
"optionalDependencies": {
"@randlabs/myalgo-connect": "^1.1.2",
"algosdk": "^1.13.1",
"arweave-stream-tx": "^1.1.0",
"multistream": "^4.1.0",
"tmp-promise": "^3.0.2"
}
}