mirror of
https://github.com/luxfi/crypto.git
synced 2026-10-30 16:59:13 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next and tsup's dts build cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. docs reports 4 diagnostics and bindings/typescript 60 under both compilers. TS7 stopped inferring a type for the side-effect import of global.css, so docs declares '*.css' — neutral on 6. Co-authored-by: Hanzo Dev <[email protected]>
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"name": "luxcrypto",
|
|
"version": "0.1.0",
|
|
"description": "Node.js bindings for Lux post-quantum cryptography (ML-KEM-768, ML-DSA-65) via libluxcrypto",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
|
|
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
|
"test": "node --loader ts-node/esm src/test.ts"
|
|
},
|
|
"keywords": [
|
|
"pq",
|
|
"post-quantum",
|
|
"mlkem",
|
|
"mldsa",
|
|
"fips203",
|
|
"fips204",
|
|
"lux",
|
|
"cryptography"
|
|
],
|
|
"author": "Lux Industries Inc <[email protected]>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/luxfi/crypto"
|
|
},
|
|
"dependencies": {
|
|
"koffi": "^2.9.0"
|
|
},
|
|
"devDependencies": {
|
|
"tsup": "^8.0.0",
|
|
"tsgo": "npm:[email protected]",
|
|
"typescript": "6.0.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|