UNPKG

@lewiswright/vitest-plugin-vis

Version:
128 lines 3.47 kB
{ "name": "@lewiswright/vitest-plugin-vis", "version": "2.4.4", "description": "Vitest visual testing plugin", "keywords": [ "image-snapshot", "vitest", "visual-test" ], "repository": { "type": "git", "url": "https://github.com/repobuddy/storybook-image-snapshot", "directory": "packages/vitest-image-snapshot" }, "license": "MIT", "author": { "name": "Homa Wong", "email": "homawong@gmail.com", "url": "https://github.com/unional" }, "type": "module", "exports": { ".": { "types": "./esm/index.d.ts", "default": "./esm/index.js" }, "./config": { "types": "./esm/config.d.ts", "default": "./esm/config.js" }, "./client": { "types": "./esm/client.d.ts", "default": "./esm/client.js" }, "./commands": { "types": "./esm/commands.d.ts", "default": "./esm/commands.js" }, "./presets/auto": { "types": "./esm/presets/auto.d.ts", "default": "./esm/presets/auto.js" }, "./presets/enable": { "types": "./esm/presets/enable.d.ts", "default": "./esm/presets/enable.js" }, "./presets/manual": { "types": "./esm/presets/manual.d.ts", "default": "./esm/presets/manual.js" }, "./setup": { "types": "./esm/setup.d.ts", "default": "./esm/setup.js" }, "./testing": { "types": "./esm/testing.d.ts", "default": "./esm/testing.js" }, "./package.json": "./package.json" }, "imports": { "#vitest-plugin-vis/config": "./src/config.ts" }, "types": "./esm/index.d.ts", "files": [ "esm", "src", "!**/*.{spec,test,unit,accept,integrate,system,perf,stress}.*" ], "dependencies": { "dedent": "^1.5.1", "is-ci": "^4.0.0", "mkdirp": "^3.0.1", "pathe": "^2.0.0", "pixelmatch": "^7.1.0", "pngjs": "^7.0.0", "rimraf": "^6.0.1", "ssim.js": "^3.5.0", "type-plus": "8.0.0-beta.7" }, "devDependencies": { "@repobuddy/typescript": "^2.1.0", "@types/is-ci": "^3.0.4", "@types/pngjs": "^6.0.5", "@types/react": "^19.0.2", "@vitest/browser": "^3.0.8", "@vitest/coverage-istanbul": "^3.0.8", "@vitest/coverage-v8": "^3.0.8", "@vitest/expect": "^3.0.8", "cross-env": "^7.0.3", "never-fail": "^1.1.4", "npm-run-all2": "^7.0.2", "playwright": "latest", "react": "^19.0.0", "react-dom": "^19.0.0", "typescript": "^5.7.2", "vite": "^6.0.9", "vitest": "^3.0.8", "vitest-browser-react": "^0.1.0" }, "peerDependencies": { "@vitest/browser": "^2 || ^3", "vitest": "^2 || ^3" }, "publishConfig": { "access": "public" }, "scripts": { "build": "tsc", "build:watch": "tsc -w", "clean": "rimraf coverage esm *.tsbuildinfo vitest.*.timestamp*", "clean:vis:local": "rimraf __vis__/local", "cov": "cross-env COVERAGE=true vitest run --coverage", "coverage": "cross-env COVERAGE=true vitest run --coverage", "dev": "run-p build:watch w", "nuke": "rimraf node_modules", "test": "vitest run", "t:node": "vitest --project=vpv:node", "t:pw": "vitest run --project=\"vpv:pw (*)\"", "t:wd": "vitest run --project=\"vpv:wd (*)\"", "v": "run-p build cov", "w": "vitest", "w:cov": "cross-env COVERAGE=true vitest --coverage", "w:node": "vitest --project=vpv:node", "w:pw": "vitest --project=\"vpv:pw (*)\"", "w:wd": "vitest --project=\"vpv:wd (*)\"" } }