120 lines
3.3 KiB
JSON
120 lines
3.3 KiB
JSON
{
|
|
"name": "@suaveplan/storage-uri-plugin-bundle",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "Per-package bundle:// URI scheme plugin for @suaveplan/storage-uri. Universal; resolves bundle://<package-slug>/<rel-path> against an injectable rootUrl via fetch on every read. Read-only StorageLike shim, HTTP Range support with 200/206/416 disambiguation, AbortSignal propagation, optional in-memory LRU, full OpenTelemetry surface.",
|
|
"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"
|
|
}
|
|
},
|
|
"./factory/factory": {
|
|
"import": {
|
|
"types": "./dist/factory/factory.d.ts",
|
|
"default": "./dist/factory/factory.js"
|
|
}
|
|
},
|
|
"./parse/parse": {
|
|
"import": {
|
|
"types": "./dist/parse/parse.d.ts",
|
|
"default": "./dist/parse/parse.js"
|
|
}
|
|
},
|
|
"./storage-shim/storage-shim": {
|
|
"import": {
|
|
"types": "./dist/storage-shim/storage-shim.d.ts",
|
|
"default": "./dist/storage-shim/storage-shim.js"
|
|
}
|
|
},
|
|
"./range/range": {
|
|
"import": {
|
|
"types": "./dist/range/range.d.ts",
|
|
"default": "./dist/range/range.js"
|
|
}
|
|
},
|
|
"./streaming/streaming": {
|
|
"import": {
|
|
"types": "./dist/streaming/streaming.d.ts",
|
|
"default": "./dist/streaming/streaming.js"
|
|
}
|
|
},
|
|
"./abort/abort": {
|
|
"import": {
|
|
"types": "./dist/abort/abort.d.ts",
|
|
"default": "./dist/abort/abort.js"
|
|
}
|
|
},
|
|
"./cache/cache": {
|
|
"import": {
|
|
"types": "./dist/cache/cache.d.ts",
|
|
"default": "./dist/cache/cache.js"
|
|
}
|
|
},
|
|
"./error-codes/error-codes": {
|
|
"import": {
|
|
"types": "./dist/error-codes/error-codes.d.ts",
|
|
"default": "./dist/error-codes/error-codes.js"
|
|
}
|
|
},
|
|
"./otel/otel": {
|
|
"import": {
|
|
"types": "./dist/otel/otel.d.ts",
|
|
"default": "./dist/otel/otel.js"
|
|
}
|
|
},
|
|
"./node-fetch": {
|
|
"import": {
|
|
"types": "./dist/node-fetch/node-fetch.d.ts",
|
|
"default": "./dist/node-fetch/node-fetch.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/error": "workspace:^",
|
|
"@suaveplan/storage-uri": "workspace:^",
|
|
"@suaveplan/types": "workspace:^",
|
|
"tslib": "catalog:build",
|
|
"zod": "catalog:forms"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@types/node": "catalog:",
|
|
"@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"
|
|
]
|
|
}
|