-
Notifications
You must be signed in to change notification settings - Fork 4
/
deno.json
74 lines (74 loc) · 2.52 KB
/
deno.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
{
"name": "@dajiaji/mlkem",
"version": "2.3.0",
"exports": "./mod.ts",
"imports": {
"@noble/hashes": "npm:@noble/hashes@^1.5.0"
},
"publish": {
"exclude": [
"dnt.ts",
".github/",
"bench/",
"npm/",
"test/",
"import_map.json",
"tsconfig.json"
]
},
"fmt": {
"include": [
"**/*.md",
"**/*.json",
"dnt.ts",
"mod.ts",
"bench/",
"src/",
"test/"
],
"exclude": [
"**/*/*.js",
"npm/",
"coverage/"
]
},
"lint": {
"include": [
"**/*.md",
"**/*.json",
"dnt.ts",
"mod.ts",
"bench/",
"src/",
"test/"
],
"exclude": [
"**/*/*.js",
"npm/",
"coverage/"
]
},
"tasks": {
"test": "deno fmt && deno lint && deno test --import-map=./import_map.json test --fail-fast --doc --coverage=coverage --parallel --allow-read",
"test:cloudflare": "cd test/runtimes/cloudflare && npm install && npm link crystals-kyber-js && npm run test",
"cov": "deno coverage ./coverage --lcov --exclude='test'",
"npm": "deno task dnt && deno task npm-link && deno task npm-pack && deno task npm-publish:dry",
"dnt": "deno task dnt:crystals-kyber-js && deno task dnt:mlkem",
"dnt:crystals-kyber-js": "deno run --import-map=./import_map.json -A dnt.ts crystals-kyber-js",
"dnt:mlkem": "deno run --import-map=./import_map.json -A dnt.ts mlkem",
"npm-link": "deno task npm-link:crystals-kyber-js && deno task npm-link:mlkem",
"npm-link:crystals-kyber-js": "cd npm/crystals-kyber-js && npm link",
"npm-link:mlkem": "cd npm/mlkem && npm link",
"npm-pack": "deno task npm-pack:crystals-kyber-js && deno task npm-pack:mlkem",
"npm-pack:crystals-kyber-js": "cd npm/crystals-kyber-js && npm pack --dry-run",
"npm-pack:mlkem": "cd npm/mlkem && npm pack --dry-run",
"npm-publish:dry": "deno task npm-publish:crystals-kyber-js:dry && deno task npm-publish:mlkem:dry",
"npm-publish:crystals-kyber-js:dry": "cd npm/crystals-kyber-js && npm publish --dry-run",
"npm-publish:mlkem:dry": "cd npm/mlkem && npm publish --dry-run",
"npm-publish": "deno task npm-publish:crystals-kyber-js && deno task npm-publish:mlkem",
"npm-publish:crystals-kyber-js": "cd npm/crystals-kyber-js && npm publish",
"npm-publish:mlkem": "cd npm/mlkem && npm publish",
"minify:crystals-kyber-js": "esbuild npm/crystals-kyber-js/esm/mod.js --bundle --format=esm --minify",
"minify:mlkem": "esbuild npm/mlkem/esm/mod.js --bundle --format=esm --minify"
}
}