-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
61 lines (61 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
{
"type": "module",
"name": "@hazae41/foras",
"version": "2.1.4",
"description": "WebAssembly port of Deflate, Gzip, and Zlib compression algorithms",
"homepage": "https://github.com/hazae41/foras",
"repository": "github:hazae41/foras",
"author": "hazae41",
"license": "Unlicense",
"main": "./dist/cjs/src/node/index.cjs",
"module": "./dist/esm/src/node/index.mjs",
"types": "./dist/types/src/node/index.d.ts",
"sideEffects": false,
"files": [
"./dist/esm",
"./dist/cjs",
"./dist/types"
],
"scripts": {
"build:wasm": "cd wasm && rimraf pkg && wasm-pack build --target web --release && cd .. && node patch.js",
"build:dist": "rimraf dist && rollup -c",
"build": "npm run build:wasm && npm run build:dist",
"test:node": "node ./dist/test/src/node/index.test.mjs",
"test:deno": "deno run -A --unstable ./src/deno/mod.test.ts",
"test": "npm run test:node && npm run test:deno",
"example:deno": "deno run ./example/deno/mod.ts",
"example:node": "cd ./example/node && npm ci && node ./index.js",
"prepare": "npm run build:dist"
},
"devDependencies": {
"@hazae41/phobos": "^1.0.10",
"@hazae41/rimraf": "^1.0.1",
"@rollup/plugin-typescript": "^11.1.5",
"@types/node": "^20.8.4",
"rollup": "^4.0.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-node-externals": "^6.1.2",
"typescript": "^5.2.2"
},
"exports": {
".": {
"types": "./dist/types/src/node/index.d.ts",
"import": "./dist/esm/src/node/index.mjs",
"require": "./dist/cjs/src/node/index.cjs"
}
},
"keywords": [
"reproducible",
"webassembly",
"cryptography",
"compression",
"deflate",
"gzip",
"zlib",
"browser",
"typescript",
"rust",
"unit-tested",
"deno"
]
}