UNPKG

creevey

Version:

Cross-browser screenshot testing tool for Storybook with fancy UI Runner

204 lines 6.07 kB
{ "name": "creevey", "description": "Cross-browser screenshot testing tool for Storybook with fancy UI Runner", "version": "0.10.35", "type": "commonjs", "bin": "dist/cli.js", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": "./dist/index.js", "./playwright": { "types": "./dist/playwright.d.ts", "default": "./dist/playwright.js" }, "./playwright/test": { "types": "./dist/playwright/generator.d.ts", "default": "./dist/playwright/generator.js" }, "./playwright/setup": { "types": "./dist/playwright/setup.d.ts", "default": "./dist/playwright/setup.js" }, "./playwright/reporter": { "types": "./dist/playwright/reporter.d.ts", "default": "./dist/playwright/reporter.js" }, "./selenium": { "types": "./dist/selenium.d.ts", "default": "./dist/selenium.js" }, "./package.json": "./package.json" }, "author": "Dmitriy Lazarev <w@kich.dev>", "repository": { "type": "git", "url": "github.com:creevey/creevey" }, "keywords": [ "testing", "storybook", "storybook-addons", "visual-testing", "visual-regression", "screenshot-tests", "screenshots", "storybook-addon", "addon", "test" ], "license": "MIT", "scripts": { "commit": "git-cz", "clean": "rm -rf dist", "lint": "concurrently \"yarn lint:tsc\" \"yarn lint:eslint\" \"yarn lint:prettier\"", "lint:tsc": "tsc --noEmit", "lint:eslint": "eslint", "lint:prettier": "prettier --check .", "test": "vitest run", "test:watch": "vitest", "start": "concurrently \"yarn start:client\" \"yarn start:storybook\" \"yarn start:creevey\"", "start:client": "vite", "start:storybook": "storybook dev --ci -p 6006", "start:creevey": "yarn creevey test --ui", "creevey": "tsx ./src/cli", "creevey:github": "yarn creevey test --config .creevey/github.config.mts", "creevey:gitlab": "yarn creevey test --config .creevey/gitlab.config.mts", "creevey:hybrid": "yarn creevey test --config .creevey/hybrid.config.mts", "fix": "concurrently \"yarn fix:eslint\" \"yarn fix:prettier\"", "fix:eslint": "eslint --fix", "fix:prettier": "prettier --write .", "prebuild": "yarn clean && mkdir dist", "build": "yarn prebuild && yarn build:client && yarn build:creevey && yarn postbuild", "build:client": "vite build", "build:creevey": "tsc --build tsconfig.prod.json", "postbuild": "node scripts/copy-files.mjs", "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", "build-storybook": "storybook build", "chromatic": "chromatic --project-token=chpt_80df83ca94e6fb4", "prepare": "husky" }, "engines": { "node": ">=18.0" }, "peerDependencies": { "playwright-core": "*", "selenium-webdriver": "*" }, "peerDependenciesMeta": { "playwright-core": { "optional": true }, "selenium-webdriver": { "optional": true } }, "dependencies": { "@octokit/core": "^6.1.5", "@storybook/icons": "^1.4.0", "@types/chai": "^4.3.20", "@types/dockerode": "^3.3.39", "@types/lodash": "^4.17.17", "@types/micromatch": "^4.0.9", "@types/pixelmatch": "^5.2.6", "@types/pngjs": "^6.0.5", "@types/qs": "^6.14.0", "@types/react": "^18.3.23", "@types/react-dom": "^18.3.7", "@types/selenium-webdriver": "^4.1.28", "@types/shelljs": "^0.8.15", "@types/ws": "^8.18.1", "cac": "^6.7.14", "chai": "^4.5.0", "chalk": "^4.1.2", "chokidar": "^4.0.3", "dockerode": "^4.0.6", "find-cache-dir": "^5.0.0", "get-port": "^7.1.0", "lodash": "^4.17.21", "loglevel": "^1.9.2", "loglevel-plugin-prefix": "^0.8.4", "micromatch": "^4.0.8", "odiff-bin": "^3.2.1", "open": "^10.1.2", "package-manager-detector": "^0.2.11", "pidtree": "^0.6.0", "pixelmatch": "^6.0.0", "pngjs": "^7.0.0", "polished": "^4.3.1", "qs": "^6.14.0", "semver": "^7.7.2", "shelljs": "^0.9.2", "tar-stream": "^3.1.7", "tsx": "^4.19.4", "uuid": "^11.1.0", "valibot": "^1.1.0", "ws": "^8.18.2", "yocto-spinner": "^0.2.3" }, "devDependencies": { "@chromatic-com/storybook": "^4.0.0", "@eslint/js": "^9.27.0", "@playwright/test": "^1.52.0", "@storybook/addon-docs": "^9.0.0", "@storybook/react-vite": "^9.0.0", "@types/eslint": "^9.6.1", "@types/node": "^18.19.105", "@types/resize-observer-browser": "^0.1.11", "@types/semver": "^7.7.0", "@types/tar-stream": "^3.1.3", "@types/tmp": "^0.2.6", "@typescript-eslint/parser": "^8.33.0", "@vitejs/plugin-react-swc": "^3.10.0", "browserstack-local": "^1.5.6", "chromatic": "^12.0.0", "concurrently": "^9.1.2", "conventional-changelog-cli": "^5.0.0", "dotenv": "^16.5.0", "eslint": "^9.27.0", "eslint-config-prettier": "^10.1.5", "eslint-import-resolver-typescript": "^4.4.1", "eslint-plugin-import-x": "^4.13.3", "eslint-plugin-prettier": "^5.4.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-storybook": "^9.0.0", "git-cz": "^4.9.0", "globals": "^16.2.0", "husky": "^9.1.7", "immer": "^10.1.1", "lint-staged": "^15.5.2", "pinst": "^3.0.0", "playwright-core": "^1.52.0", "prettier": "^3.5.3", "react": "^18.3.1", "react-dom": "^18.3.1", "react-is": "^18.3.1", "selenium-webdriver": "^4.33.0", "storybook": "^9.0.0", "tmp": "^0.2.3", "typescript": "^5.8.3", "typescript-eslint": "^8.33.0", "use-immer": "^0.11.0", "vite": "^6.3.5", "vitest": "^3.1.4" }, "config": { "commitizen": { "path": "./node_modules/git-cz" } }, "lint-staged": { "**/*.?(c|m)(j|t)s?(x)": [ "eslint --fix", "prettier --write" ], "**/*.(md|json)": [ "prettier --write" ] }, "storybook": { "displayName": "Creevey" }, "packageManager": "yarn@4.9.1" }