Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.89 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.89 KB
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
75
76
77
78
79
80
81
82
{
"name": "quarkdash",
"version": "1.2.2",
"description": "QuarkDash - pure typescript hybrid cryptographic protocol that provides post-quantum security, high performance, and attack resistance.",
"keywords": [
"quark",
"dash",
"qd-256",
"quarkdash",
"encryption",
"crypto",
"protocol",
"binary",
"hybrid",
"fast",
"secure",
"quantum"
],
"homepage": "https://github.com/DevsDaddy/quarkdash#readme",
"bugs": {
"url": "https://github.com/DevsDaddy/quarkdash/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DevsDaddy/quarkdash.git"
},
"license": "MIT",
"author": "Elijah Rastroguev",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
"scripts": {
"update-docs": "ts-node docutil.ts",
"clean": "rm -rf dist",
"build": "npm run clean && npm run update-docs && npm run build:esm && npm run build:cjs && npm run build:types && npm run copy_wasm",
"build:wasm": "npm run build:wasm:shake && npm run build:wasm:gimli && npm run build:wasm:chacha && npm run build:wasm:ntt",
"build:wasm:shake": "asc assembly/shake.ts --importMemory --initialMemory 256 --maximumMemory 512 -O3 --outFile wasm/shake.wasm --exportRuntime",
"build:wasm:gimli": "asc assembly/gimli.ts --importMemory --initialMemory 64 --maximumMemory 128 -O3 --enable simd --enable bulk-memory --outFile wasm/gimli.wasm --exportRuntime",
"build:wasm:chacha": "asc assembly/chacha.ts --importMemory --initialMemory 64 --maximumMemory 128 -O3 --enable simd --enable bulk-memory --outFile wasm/chacha.wasm --exportRuntime",
"build:wasm:ntt": "asc assembly/ntt.ts --importMemory --initialMemory 64 --maximumMemory 128 -O3 --enable simd --enable bulk-memory --outFile wasm/ntt.wasm --exportRuntime",
"build:esm": "tsc -p tsconfig.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly --declaration --outDir dist/types",
"copy_wasm": "mkdir -p dist && cp -r wasm/*.wasm dist/",
"test": "jest --coverage",
"test:watch": "jest --watch",
"bench": "ts-node --compiler-options '{\"module\":\"CommonJS\"}' benchmarks/bench.ts",
"prepublishOnly": "npm run build && npm test"
},
"files": [
"wasm",
"dist"
],
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^20.0.0",
"assemblyscript": "^0.28.20",
"copyfiles": "^2.4.1",
"jest": "^29.5.0",
"prettier": "^3.9.6",
"ts-jest": "^29.1.0",
"ts-morph": "^27.0.2",
"ts-node": "^10.9.0",
"typescript": "^5.0.0",
"wabt": "^1.0.39",
"ws": "^8.14.0"
},
"dependencies": {
"fs": "^0.0.1-security",
"path": "^0.12.7"
},
"engines": {
"node": ">=18.0.0"
}
}