-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 1.9 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
{
"type": "module",
"name": "@hazae41/network.wasm",
"version": "1.0.2",
"description": "WebAssembly bundle for Network",
"homepage": "https://github.com/hazae41/network.wasm",
"repository": "github:hazae41/network.wasm",
"author": "hazae41",
"license": "Unlicense",
"main": "./dist/cjs/node/index.cjs",
"module": "./dist/esm/node/index.mjs",
"types": "./dist/types/node/index.d.ts",
"sideEffects": false,
"files": [
"./dist/esm",
"./dist/cjs",
"./dist/types",
"./dist/wasm"
],
"scripts": {
"build:wasm": "cd ./src/wasm && rimraf pkg && wasm-pack build --target web --release && cd ../.. && node patch.wasm.mjs",
"build:node": "rimraf dist && rollup -c && rsync -a ./src/wasm ./dist --exclude=target --exclude=pkg && node patch.node.mjs",
"build": "npm run build:wasm && npm run build:node",
"test": "node ./dist/test/node/index.test.mjs",
"prepare": "npm run build:node"
},
"devDependencies": {
"@hazae41/deimos": "^1.0.6",
"@hazae41/phobos": "^1.0.10",
"@hazae41/rimraf": "^1.0.1",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^22.5.0",
"rollup": "^4.21.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-node-externals": "^7.1.3",
"tslib": "^2.7.0",
"typescript": "^5.5.4"
},
"exports": {
".": {
"types": "./dist/types/node/index.d.ts",
"import": "./dist/esm/node/index.mjs",
"require": "./dist/cjs/node/index.cjs"
}
},
"keywords": [
"reproducible",
"webassembly",
"cryptography",
"keccak256",
"base16",
"hex",
"network",
"token",
"pow",
"proof-of-work",
"zero-knowledge",
"zk",
"zkp",
"zero-knowledge-proof",
"browser",
"typescript",
"rust",
"unit-tested",
"deno"
],
"peerDependencies": {
"@hazae41/base16.wasm": "^1.0.4",
"@hazae41/memory.wasm": "^1.0.9",
"@hazae41/sha3.wasm": "^1.0.3"
}
}