UNPKG

@sanity/migrate

Version:

Tooling for running data migrations on Sanity.io projects

93 lines 2.36 kB
{ "name": "@sanity/migrate", "version": "8.0.1", "description": "Tooling for running data migrations on Sanity.io projects", "keywords": [ "cms", "content", "headless", "migrate", "migration", "realtime", "sanity" ], "homepage": "https://www.sanity.io/", "bugs": { "url": "https://github.com/sanity-io/migrate/issues" }, "license": "MIT", "author": "Sanity.io <hello@sanity.io>", "repository": { "type": "git", "url": "git+https://github.com/sanity-io/migrate.git" }, "files": [ "dist", "src", "!src/**/__tests__/**", "!src/**/*.test.ts", "!src/**/*.tar", "!src/**/*.tar.gz" ], "type": "module", "sideEffects": false, "main": "./dist/_exports/index.js", "types": "./dist/_exports/index.d.ts", "exports": { ".": { "source": "./src/_exports/index.ts", "default": "./dist/_exports/index.js" }, "./package.json": "./package.json" }, "publishConfig": { "access": "public" }, "dependencies": { "@sanity/client": "^7.23.0", "@sanity/mutate": "^0.18.1", "@sanity/types": "^6.1.0", "@sanity/util": "^6.1.0", "arrify": "^3.0.0", "debug": "^4.4.3", "fast-fifo": "^1.3.2", "groq-js": "^2.0.0", "p-map": "^7.0.4" }, "devDependencies": { "@eslint/compat": "^2.1.0", "@sanity/eslint-config-cli": "^1.1.2", "@sanity/pkg-utils": "^10.5.7", "@swc/cli": "^0.8.1", "@swc/core": "^1.15.41", "@types/debug": "^4.1.13", "@types/node": "^25.9.3", "@vitest/coverage-v8": "^4.1.9", "chokidar": "^5.0.0", "eslint": "10.5.0", "knip": "^6.17.1", "oxfmt": "^0.55.0", "rimraf": "^6.1.3", "typescript": "^5.9.3", "vite": "^8.0.16", "vitest": "^4.1.9" }, "engines": { "node": ">=22.12" }, "scripts": { "build": "swc --delete-dir-on-start src -d dist --strip-leading-paths && pnpm run build:types", "build:types": "pkg-utils build --emitDeclarationOnly", "clean": "rimraf dist node_modules", "coverage": "vitest run --coverage", "depcheck": "knip", "dev": "tsc --watch", "check:format": "oxfmt --check", "format": "oxfmt", "lint": "eslint .", "lint:fix": "eslint . --fix", "test": "vitest run", "typecheck": "tsc --noEmit", "watch": "swc src -d dist --strip-leading-paths --watch" } }