145 lines
4.4 KiB
JSON
145 lines
4.4 KiB
JSON
{
|
|
"name": "@suaveplan/password-formats",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "Universal import/export layer for common password-manager export formats — Apple Passwords CSV, Bitwarden JSON, Chrome CSV, KeePass XML",
|
|
"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"
|
|
}
|
|
},
|
|
"./detect": {
|
|
"import": {
|
|
"types": "./dist/core/detector/format-detector.d.ts",
|
|
"default": "./dist/core/detector/format-detector.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/core/detector/format-detector.d.ts",
|
|
"default": "./dist/core/detector/format-detector.js"
|
|
}
|
|
},
|
|
"./parse": {
|
|
"import": {
|
|
"types": "./dist/core/parse/parse.d.ts",
|
|
"default": "./dist/core/parse/parse.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/core/parse/parse.d.ts",
|
|
"default": "./dist/core/parse/parse.js"
|
|
}
|
|
},
|
|
"./parsers/apple": {
|
|
"import": {
|
|
"types": "./dist/parsers/apple-passwords/apple-passwords.d.ts",
|
|
"default": "./dist/parsers/apple-passwords/apple-passwords.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/parsers/apple-passwords/apple-passwords.d.ts",
|
|
"default": "./dist/parsers/apple-passwords/apple-passwords.js"
|
|
}
|
|
},
|
|
"./parsers/bitwarden": {
|
|
"import": {
|
|
"types": "./dist/parsers/bitwarden/bitwarden.d.ts",
|
|
"default": "./dist/parsers/bitwarden/bitwarden.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/parsers/bitwarden/bitwarden.d.ts",
|
|
"default": "./dist/parsers/bitwarden/bitwarden.js"
|
|
}
|
|
},
|
|
"./parsers/chrome": {
|
|
"import": {
|
|
"types": "./dist/parsers/chrome/chrome.d.ts",
|
|
"default": "./dist/parsers/chrome/chrome.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/parsers/chrome/chrome.d.ts",
|
|
"default": "./dist/parsers/chrome/chrome.js"
|
|
}
|
|
},
|
|
"./parsers/keepass": {
|
|
"import": {
|
|
"types": "./dist/parsers/keepass/keepass.d.ts",
|
|
"default": "./dist/parsers/keepass/keepass.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/parsers/keepass/keepass.d.ts",
|
|
"default": "./dist/parsers/keepass/keepass.js"
|
|
}
|
|
},
|
|
"./export": {
|
|
"import": {
|
|
"types": "./dist/export/csv-export.d.ts",
|
|
"default": "./dist/export/csv-export.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/export/csv-export.d.ts",
|
|
"default": "./dist/export/csv-export.js"
|
|
}
|
|
},
|
|
"./errors": {
|
|
"import": {
|
|
"types": "./dist/errors/password-formats-error.d.ts",
|
|
"default": "./dist/errors/password-formats-error.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/errors/password-formats-error.d.ts",
|
|
"default": "./dist/errors/password-formats-error.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",
|
|
"fast-xml-parser": "catalog:parsing",
|
|
"fflate": "catalog:parsing",
|
|
"papaparse": "catalog:parsing",
|
|
"tslib": "catalog:build",
|
|
"zod": "catalog:forms"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@types/node": "catalog:",
|
|
"@types/papaparse": "catalog:parsing",
|
|
"@vitest/coverage-istanbul": "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"
|
|
]
|
|
}
|