{ "name": "lost-pixel", "version": "3.22.0", "description": "GitHub Action for Lost Pixel integration", "main": "dist/", "bin": "dist/bin.js", "files": [ "dist", "config-templates" ], "scripts": { "test": "jest --detectOpenHandles", "test:watch": "jest --watch --detectOpenHandles", "build": "rimraf dist && tsc", "build-example-storybook-v6.4": "rimraf examples/example-storybook-v6.4/storybook-static && docker run --rm -v $PWD/examples/example-storybook-v6.4:/storybook -w /storybook node:16-alpine sh -c 'npm install && npm run build-storybook'", "build-example-storybook-v6.5-storystore-v7": "rimraf examples/example-storybook-v6.5-storystore-v7/storybook-static && docker run --rm -v $PWD/examples/example-storybook-v6.5-storystore-v7:/storybook -w /storybook node:16-alpine sh -c 'npm install && npm run build-storybook'", "build-example-storybook-v8": "rimraf examples/example-storybook-v8/storybook-static && docker run --rm -v $PWD/examples/example-storybook-v8:/storybook -w /storybook node:16-alpine sh -c 'npm install && npm run build-storybook'", "build-example-next-js-pages": "cd examples/example-next-js-pages && npm ci --legacy-peer-deps && npm run build", "build-example-ladle": "cd examples/example-ladle && npm ci && npm run build", "build-example-vite": "cd examples/example-vite-app && npm ci && npm run build", "build-example-histoire": "cd examples/example-swyxkit && npm ci --legacy-peer-deps && npm run story:build", "build-example-vue-histoire": "cd examples/example-vue-histoire && npm ci && npm run story:build", "run-example-next-js-pages": "cd examples/example-next-js-pages && npm run start", "run-example-vite": "cd examples/example-vite-app && npm run preview", "test-on-examples": "./test-on-examples.sh", "unused-exports": "ts-prune --error --ignore 'src/index.ts'", "lint": "xo && npm run unused-exports", "lint-fix": "xo --fix", "lint-staged": "lint-staged", "prepare": "husky", "release": "np --no-publish", "version": "./update-versions.sh", "dev": "ts-node src/bin", "start": "NODE_ENV=production node dist/bin.js", "knip": "knip" }, "engines": { "node": ">=18" }, "lint-staged": { "*.{js,ts}": [ "npm run lint" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "repository": { "type": "git", "url": "git+https://github.com/lost-pixel/lost-pixel.git" }, "keywords": [], "author": "Chris Kalmar", "license": "MIT", "bugs": { "url": "https://github.com/lost-pixel/lost-pixel/issues" }, "homepage": "https://github.com/lost-pixel/lost-pixel#readme", "dependencies": { "@types/xml2js": "^0.4.14", "async": "3.2.6", "axios": "1.7.7", "bundle-require": "4.0.2", "esbuild": "0.24.0", "execa": "5.1.1", "form-data": "4.0.0", "fs-extra": "11.2.0", "get-port-please": "3.1.2", "lodash.kebabcase": "4.1.1", "odiff-bin": "2.6.1", "pixelmatch": "5.3.0", "playwright-core": "1.47.2", "pngjs": "7.0.0", "posthog-node": "3.5.0", "serve-handler": "6.1.6", "ts-node": "10.9.2", "xml2js": "^0.6.2", "yargs": "17.7.2", "zod": "3.23.8" }, "devDependencies": { "@playwright/test": "1.47.2", "@types/async": "3.2.24", "@types/fs-extra": "11.0.4", "@types/jest": "29.5.13", "@types/lodash.kebabcase": "4.1.9", "@types/node": "22.9.3", "@types/pixelmatch": "5.2.6", "@types/pngjs": "6.0.5", "@types/serve-handler": "6.1.4", "husky": "9.1.6", "jest": "29.7.0", "knip": "5.37.2", "lint-staged": "15.2.10", "prettier": "3.3.3", "rimraf": "5.0.10", "ts-jest": "29.2.5", "ts-prune": "0.10.3", "typescript": "5.6.2", "xo": "0.59.3" }, "peerDependencies": { "playwright-core": ">=1.47.2" }, "xo": { "prettier": true, "ignores": [ "dist", "examples" ], "rules": { "@typescript-eslint/object-curly-spacing": "off", "complexity": [ "error", 30 ], "import/extensions": "off", "no-unused-vars": "error", "unicorn/filename-case": "off", "unicorn/no-process-exit": "off", "unicorn/prevent-abbreviations": "off", "node/prefer-global/process": "off", "@typescript-eslint/naming-convention": "off", "unicorn/prefer-module": "off", "import/no-mutable-exports": "off", "@typescript-eslint/ban-ts-comment": "off", "n/prefer-global/process": "off", "n/file-extension-in-import": "off", "no-lone-blocks": "off", "capitalized-comments": "off", "unicorn/prefer-ternary": "off" } } }