UNPKG

@nhost/hasura-storage-js

Version:

Hasura-storage client

77 lines 2.2 kB
{ "name": "@nhost/hasura-storage-js", "version": "2.8.0", "description": "Hasura-storage client", "license": "MIT", "keywords": [ "nhost", "hasura", "storage", "graphql", "s3" ], "author": "Nhost", "homepage": "https://nhost.io", "bugs": "https://github.com/nhost/hasura-storage-js/issues", "repository": { "type": "git", "url": "https://github.com/nhost/hasura-storage-js.git" }, "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "source": "src/index.ts", "files": [ "dist", "umd", "README.md" ], "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/index.d.ts", "node": "./dist/index.cjs.js", "default": "./dist/index.esm.js" }, "require": "./dist/index.cjs.js" } }, "publishConfig": { "access": "public" }, "dependencies": { "fetch-ponyfill": "^7.1.0", "form-data": "^4.0.0", "graphql": "16.8.1", "xstate": "^4.38.3" }, "devDependencies": { "@types/uuid": "^9.0.8", "jpeg-js": "^0.4.4", "pixelmatch": "^5.3.0", "uuid": "^9.0.1", "@nhost/docgen": "0.3.0" }, "scripts": { "dev": "vite build --config ../../config/vite.lib.dev.config.js", "build": "run-p typecheck build:lib build:umd", "typecheck": "tsc --noEmit", "build:lib": "vite build", "build:umd": "vite build --config ../../config/vite.lib.umd.config.js", "e2e": "pnpm e2e:backend && pnpm ci:test", "ci:test": "vitest run", "e2e:backend": "cp .secrets.example .secrets && nhost up --down-on-error", "test": "vitest --config ./vite.unit.config.js", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "prettier": "prettier --check src/", "prettier:fix": "prettier --write src/", "lint": "eslint . --ext .ts,.tsx", "lint:fix": "eslint . --ext .ts,.tsx --fix", "verify": "run-p prettier lint", "verify:fix": "run-p prettier:fix lint:fix", "typedoc": "typedoc --options ./storage.typedoc.json --tsconfig ./typedoc.tsconfig.json", "docgen": "pnpm typedoc && docgen --config ./storage.docgen.json" } }