Skip to main content
Module

x/kv_storage/package.json

An implementation of the StorageArea interface for Deno.
Go to Latest
File
{ "name": "@worker-tools/deno-kv-storage", "description": "An implementation of the StorageArea interface for Deno with an extensible system for supporting various database backends", "version": "0.4.4", "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "index.d.ts", "exports": { ".": "./dist/index.js", "./sqlite": "./dist/sqlite.js", "./postgres": "./dist/postgres.js", "./mod.ts": "./mod.ts", "./sqlite.ts": "./sqlite.ts", "./postgres.ts": "./postgres.ts" }, "publishConfig": { "access": "public" }, "directories": { "test": "test" }, "scripts": { "clean": " shx rm -rf dist *.tgz", "test": "npm run test:sqlite && npm run test:postgres", "test:sqlite": "DENO_STORAGE_AREA__DEFAULT_URL=sqlite://database.sqlite deno test --allow-read --allow-write --allow-env --seed 1 test/index.ts", "test:postgres": "DENO_STORAGE_AREA__DEFAULT_URL=postgres://deno:node@localhost:5432/test deno test --allow-net --allow-env --seed 1 --unstable --unsafely-ignore-certificate-errors test/index.ts", "test:mysql": "DENO_STORAGE_AREA__DEFAULT_URL=mysql://root:@127.0.0.1/test deno test --allow-net --allow-env --seed 1 test/index.ts", "prepack": "npm run clean && npm run build", "build": "npm run build:mod && npm run build:sqlite && npm run build:postgres", "build:mod": "shx mkdir -p dist && deno bundle mod.ts > dist/index.js", "build:sqlite": "shx mkdir -p dist && deno bundle sqlite.ts > dist/sqlite.js", "build:postgres": "shx mkdir -p dist && deno bundle postgres.ts > dist/postgres.js" }, "author": "Florian Klampfer <mail@qwtel.com> (https://qwtel.com/)", "license": "MIT", "dependencies": { "idb-key-to-string": "^0.2.0", "kv-storage-interface": "^0.2.0", "typeson": "^6.1.0", "typeson-registry": "^1.0.0-alpha.39" }, "devDependencies": { "shx": "^0.3.3" }}