Initial Commit
This commit is contained in:
220
packages/security-stack/security/vault/package.json
Normal file
220
packages/security-stack/security/vault/package.json
Normal file
@@ -0,0 +1,220 @@
|
||||
{
|
||||
"name": "@suaveplan/vault",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Vault orchestration layer for the Vaulted password-manager ecosystem: drive-backed encrypted SQLite container, lifecycle state machine (open → unlock → lock), per-item field encryption, attachments / shares / sync delegation, and OpaqueKeyHandle boundary enforcement.",
|
||||
"license": "MIT",
|
||||
"author": "Suaveplan Team",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"./vault/vault": {
|
||||
"import": {
|
||||
"types": "./dist/vault/vault.d.ts",
|
||||
"default": "./dist/vault/vault.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/vault/vault.d.ts",
|
||||
"default": "./dist/vault/vault.js"
|
||||
}
|
||||
},
|
||||
"./manifest/manifest": {
|
||||
"import": {
|
||||
"types": "./dist/manifest/manifest.d.ts",
|
||||
"default": "./dist/manifest/manifest.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/manifest/manifest.d.ts",
|
||||
"default": "./dist/manifest/manifest.js"
|
||||
}
|
||||
},
|
||||
"./container/container": {
|
||||
"import": {
|
||||
"types": "./dist/container/container.d.ts",
|
||||
"default": "./dist/container/container.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/container/container.d.ts",
|
||||
"default": "./dist/container/container.js"
|
||||
}
|
||||
},
|
||||
"./items/items": {
|
||||
"import": {
|
||||
"types": "./dist/items/items.d.ts",
|
||||
"default": "./dist/items/items.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/items/items.d.ts",
|
||||
"default": "./dist/items/items.js"
|
||||
}
|
||||
},
|
||||
"./items/migrations/migrations": {
|
||||
"import": {
|
||||
"types": "./dist/items/migrations/migrations.d.ts",
|
||||
"default": "./dist/items/migrations/migrations.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/items/migrations/migrations.d.ts",
|
||||
"default": "./dist/items/migrations/migrations.js"
|
||||
}
|
||||
},
|
||||
"./attachments/attachments": {
|
||||
"import": {
|
||||
"types": "./dist/attachments/attachments.d.ts",
|
||||
"default": "./dist/attachments/attachments.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/attachments/attachments.d.ts",
|
||||
"default": "./dist/attachments/attachments.js"
|
||||
}
|
||||
},
|
||||
"./shares/shares": {
|
||||
"import": {
|
||||
"types": "./dist/shares/shares.d.ts",
|
||||
"default": "./dist/shares/shares.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/shares/shares.d.ts",
|
||||
"default": "./dist/shares/shares.js"
|
||||
}
|
||||
},
|
||||
"./sync/sync": {
|
||||
"import": {
|
||||
"types": "./dist/sync/sync.d.ts",
|
||||
"default": "./dist/sync/sync.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/sync/sync.d.ts",
|
||||
"default": "./dist/sync/sync.js"
|
||||
}
|
||||
},
|
||||
"./encryption/field-encryption": {
|
||||
"import": {
|
||||
"types": "./dist/encryption/field-encryption.d.ts",
|
||||
"default": "./dist/encryption/field-encryption.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/encryption/field-encryption.d.ts",
|
||||
"default": "./dist/encryption/field-encryption.js"
|
||||
}
|
||||
},
|
||||
"./search/search": {
|
||||
"import": {
|
||||
"types": "./dist/search/search.d.ts",
|
||||
"default": "./dist/search/search.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/search/search.d.ts",
|
||||
"default": "./dist/search/search.js"
|
||||
}
|
||||
},
|
||||
"./errors": {
|
||||
"import": {
|
||||
"types": "./dist/errors/index.d.ts",
|
||||
"default": "./dist/errors/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/errors/index.d.ts",
|
||||
"default": "./dist/errors/index.js"
|
||||
}
|
||||
},
|
||||
"./otel/instruments": {
|
||||
"import": {
|
||||
"types": "./dist/otel/instruments.d.ts",
|
||||
"default": "./dist/otel/instruments.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/otel/instruments.d.ts",
|
||||
"default": "./dist/otel/instruments.js"
|
||||
}
|
||||
},
|
||||
"./schemas/schemas": {
|
||||
"import": {
|
||||
"types": "./dist/schemas/schemas.d.ts",
|
||||
"default": "./dist/schemas/schemas.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/schemas/schemas.d.ts",
|
||||
"default": "./dist/schemas/schemas.js"
|
||||
}
|
||||
},
|
||||
"./types/types": {
|
||||
"import": {
|
||||
"types": "./dist/types/types.d.ts",
|
||||
"default": "./dist/types/types.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/types/types.d.ts",
|
||||
"default": "./dist/types/types.js"
|
||||
}
|
||||
},
|
||||
"./types/adapters": {
|
||||
"import": {
|
||||
"types": "./dist/types/adapters.d.ts",
|
||||
"default": "./dist/types/adapters.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/types/adapters.d.ts",
|
||||
"default": "./dist/types/adapters.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage --passWithNoTests",
|
||||
"lint": "bunx biome check src/",
|
||||
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
||||
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
||||
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
||||
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
||||
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@opentelemetry/api": "catalog:observability",
|
||||
"@suaveplan/bitpacker": "workspace:^",
|
||||
"@suaveplan/crypto-cipher": "workspace:^",
|
||||
"@suaveplan/crypto-hash": "workspace:^",
|
||||
"@suaveplan/crypto-utils": "workspace:^",
|
||||
"@suaveplan/crypto-vault": "workspace:^",
|
||||
"@suaveplan/error": "workspace:^",
|
||||
"@suaveplan/events": "workspace:^",
|
||||
"@suaveplan/types": "workspace:^",
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@suaveplan/testing": "workspace:^",
|
||||
"@suaveplan/typescript-config": "workspace:^",
|
||||
"@types/node": "catalog:",
|
||||
"@vitest/coverage-istanbul": "catalog:testing",
|
||||
"fast-check": "catalog:testing",
|
||||
"typescript": "catalog:",
|
||||
"vite": "catalog:build",
|
||||
"vite-plugin-dts": "catalog:build",
|
||||
"vitest": "catalog:testing"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://npmjs.fq.io/",
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"src",
|
||||
"README.md"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user