chore(repo): initialize WebDrop monorepo

Signed-off-by: JustMe <mr.toing@outlook.com>
This commit is contained in:
justme committed 2026-10-02 00:59:22 +08:00
commit 53768a195d
39 files changed
+9063

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
{
"name": "@webdrop/core",
"version": "0.1.0",
"description": "WebDrop 端到端加密核心:密钥派生、帧加解密、条目装配、链接。只依赖 WebCrypto,无 UI、无网络。",
"type": "module",
"sideEffects": false,
"license": "UNLICENSED",
"private": true,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./internal": {
"types": "./dist/internal.d.ts",
"import": "./dist/internal.js"
}
},
"files": [
"dist"
],
"engines": {
"node": ">=22"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.build.json --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"vectors:check": "node ../../test-vectors/generate.mjs --check"
},
"devDependencies": {
"@types/node": "^26.6.3",
"typescript": "^7.0.2",
"vitest": "^5.0.3"
}
}