-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.76 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
{
"type": "module",
"name": "@hazae41/aes.wasm",
"version": "1.0.0",
"description": "WebAssembly port of AES",
"homepage": "https://github.com/hazae41/aes.wasm",
"repository": "github:hazae41/aes.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",
"incremental",
"aes",
"ctr",
"Aes128Ctr128Be",
"audited",
"counter",
"encryption",
"decryption",
"browser",
"typescript",
"rust",
"unit-tested",
"deno"
],
"peerDependencies": {
"@hazae41/memory.wasm": "^1.0.9"
}
}