-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
34 lines (34 loc) · 1.01 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
{
"name": "@web3-storage/piece-hasher-worker",
"version": "1.0.3",
"description": "Web worker for creating piece hashes.",
"main": "main.js",
"type": "module",
"types": "dist/main.d.ts",
"scripts": {
"build": "npm run build:tsc && npm run bundle:main && npm run bundle:worker",
"build:tsc": "tsc --build",
"bundle:main": "esbuild main.js --format=esm --bundle --minify --target=chrome126,firefox126 --outfile=main.min.js",
"bundle:worker": "esbuild worker.js --format=esm --bundle --minify --target=chrome126,firefox126 --outfile=worker.min.js",
"test": "pw-test --runner=entail test.js"
},
"author": "Alan Shaw",
"license": "Apache-2.0 OR MIT",
"files": [
"dist/main.d.ts",
"main.js",
"main.min.js",
"worker.js",
"worker.min.js"
],
"dependencies": {
"@web3-storage/data-segment": "^5.1.0",
"multiformats": "^13.1.1"
},
"devDependencies": {
"entail": "^2.1.2",
"esbuild": "^0.21.5",
"playwright-test": "^14.1.3",
"typescript": "^5.5.2"
}
}