UNPKG

@sanity/image-url

Version:

Tools to generate image urls from Sanity content

91 lines 2.33 kB
{ "name": "@sanity/image-url", "version": "2.1.1", "description": "Tools to generate image urls from Sanity content", "type": "module", "exports": { ".": { "source": "./src/index.ts", "import": "./lib/index.js", "default": "./lib/index.js" }, "./signed": { "source": "./src/signed/index.ts", "import": "./lib/signed/index.js", "default": "./lib/signed/index.js" }, "./package.json": "./package.json" }, "main": "./lib/index.js", "module": "./lib/index.js", "types": "./lib/index.d.ts", "files": [ "lib", "src" ], "sideEffects": false, "browserslist": "extends @sanity/browserslist-config", "engines": { "node": ">=20.19.0" }, "prettier": { "semi": false, "singleQuote": true, "bracketSpacing": false, "printWidth": 100 }, "author": "Sanity.io <hello@sanity.io>", "license": "MIT", "publishConfig": { "access": "public" }, "devDependencies": { "@changesets/changelog-github": "^0.5.1", "@changesets/cli": "^2.29.6", "@sanity/client": "^6.22.2", "@sanity/pkg-utils": "^8.0.3", "@types/node": "^24.3.0", "@vitest/coverage-v8": "^3.2.4", "prettier": "^2.5.1", "rimraf": "^3.0.2", "tslint": "^6.1.3", "tslint-config-prettier": "^1.15.0", "typescript": "^5.9.2", "vitest": "^3.2.4" }, "repository": { "type": "git", "url": "git+https://github.com/sanity-io/image-url.git" }, "bugs": { "url": "https://github.com/sanity-io/image-url/issues" }, "homepage": "https://www.sanity.io/", "directories": { "test": "test" }, "keywords": [ "sanity", "cms", "headless", "realtime", "content", "image-url" ], "dependencies": { "@sanity/signed-urls": "^2.0.2" }, "scripts": { "prebuild": "rimraf lib coverage .rts2*", "check:declaration": "tsc -p test/declaration/tsconfig.json", "build": "pkg build --strict", "lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", "test": "vitest run --coverage", "test:watch": "vitest coverage", "test:prod": "npm run lint && npm run test -- --no-cache", "postbuild": "npm run check:declaration", "posttest": "npm run lint", "format": "prettier . --write", "release": "changeset publish" } }