UNPKG

@applitools/eyes-storybook

Version:
125 lines 5.56 kB
{ "name": "@applitools/eyes-storybook", "version": "3.65.4", "description": "", "keywords": [ "applitools", "testing", "browser", "grid", "visual-testing", "nodejs", "javascript" ], "homepage": "https://applitools.com/tutorials/sdks/storybook", "license": "SEE LICENSE IN LICENSE", "author": "Applitools Team <team@applitools.com>", "types": "dist/index.d.ts", "bin": { "eyes-setup": "./bin/eyes-setup.js", "eyes-storybook": "./bin/eyes-storybook.js" }, "main": "./src/main.js", "files": [ "src", "bin", "dist" ], "scripts": { "lint": "run --top-level eslint '**/*.js'", "build:types": "tsc --project tsconfig.types.json", "build": "rollup -c rollup.config.js && yarn build:types", "build:heavy": "node scripts/bitmap.js", "test": "yarn build && yarn test:mocha", "test:mocha": "run --top-level mocha 'test/{unit,it,e2e}/*.test.js' --require ./test/mocha-global-setup.js", "test:unit": "run --top-level mocha 'test/unit/*.test.js' --require ./test/mocha-global-setup.js", "test:it": "run --top-level mocha 'test/it/*.test.js'", "test:versions": "yarn build && yarn test:e2e:versions && yarn lint", "test:e2e": "MOCHA_GROUP=e2e run --top-level mocha 'test/e2e/*.e2e.test.js' --require ./test/mocha-global-setup.js", "test:e2e:versions": "MOCHA_GROUP=e2e_versions run --top-level mocha test/versions/*.e2e.versions.test.js", "test:sanity": "run --top-level mocha 'test/sanity/*.test.js'", "test:heavy": "node bin/eyes-storybook.js -f test/fixtures/heavyStorybook/applitools.config.js", "storybook": "start-storybook -c test/fixtures/appWithStorybook -p 9001 -s test/fixtures", "storybook:httpHeaders": "start-storybook -c test/fixtures/appWithCustomHttpHeaders -p 9007", "storybook:jslayout": "start-storybook -c test/fixtures/jsLayoutStorybookLocal -p 9001 -s test/fixtures", "storybook:csf": "start-storybook -c test/fixtures/storybook-versions/latest/.storybook -p 9001", "storybook:heavy": "start-storybook -c test/fixtures/heavyStorybook -p 9002 -s test/fixtures", "storybook:zeroStories": "start-storybook -c test/fixtures/zeroStoriesRetry -p 9003 -s test/fixtures", "storybook:csf-storyStore7": "start-storybook -c test/fixtures/storybook-storyStore7/.storybook/ -p 9004 -s test/fixtures/", "eyes-storybook": "node bin/eyes-storybook.js -f test/fixtures/applitools.config.js", "eyes-storybook:jslayout": "node bin/eyes-storybook.js -f test/e2e/happy-config/layout-breakpoints-local.config.js", "eyes-storybook:heavy": "node bin/eyes-storybook.js -f test/fixtures/heavyStorybook/applitools.config.js", "eyes-storybook:configured": "node bin/eyes-storybook.js -f scripts/preconfigured.config.js", "eyes-storybook:zeroStories": "node bin/eyes-storybook.js -f test/fixtures/zeroStoriesRetry/applitools.config.js", "eyes-storybook:httpHeaders": "node bin/eyes-storybook.js -f test/fixtures/appWithCustomHttpHeaders/applitools.config.js", "eyes-storybook:csf-storyStore7": "node bin/eyes-storybook.js -f test/fixtures/storybook-storyStore7/applitools.config.js", "changelog": "git changelog -x -p -f v$npm_package_version > History.md && git add ./History.md && git commit -am 'changelog'", "changelog:init": "git config changelog.format \"* %s [[%h]($(echo $npm_package_repository_url|cut -d+ -f2|cut -d. -f1-2)/commit/%H)]\"", "changelog:install": "sudo apt-get install git-extras", "up:framework": "cd test/fixtures/storybook-versions/${APPLITOOLS_FRAMEWORK_VERSION} && npm ci" }, "dependencies": { "@applitools/core": "4.63.1", "@applitools/driver": "1.26.2", "@applitools/eyes": "1.42.1", "@applitools/functional-commons": "1.6.0", "@applitools/logger": "2.2.12", "@applitools/monitoring-commons": "1.0.19", "@applitools/spec-driver-puppeteer": "1.8.2", "@applitools/ufg-client": "1.22.2", "@applitools/utils": "1.14.5", "@inquirer/prompts": "7.0.1", "boxen": "4.2.0", "chalk": "3.0.0", "detect-port": "1.3.0", "lodash": "^4.18.0", "ora": "3.4.0", "puppeteer": "24.11.1", "semver": "7.6.2", "strip-ansi": "6.0.0", "throat": "6.0.2", "yargs": "17.7.2" }, "devDependencies": { "@applitools/bongo": "^5.10.0", "@applitools/snaptdout": "^1.1.1", "@applitools/test-server": "^1.4.4", "@applitools/test-utils": "^1.5.17", "@storybook/addon-interactions": "^6.4.18", "@storybook/react": "^6.5.16", "@storybook/testing-library": "^0.0.9", "@testing-library/dom": "^5.6.1", "bitmap-manipulation": "^2.0.0", "chai": "^4.2.0", "express": "^4.21.2", "filenamify": "^4.1.0", "lodash.flatten": "^4.4.0", "mocha": "^11.7.5", "node-fetch": "^2.6.0", "react": "^16.12.0", "react-dom": "^16.12.0", "rollup": "^1.28.0", "rollup-plugin-commonjs": "^10.1.0", "typescript": "^5.3.3", "ua-parser-js": "^0.7.21" }, "engines": { "node": ">=18.0.0" }, "publishConfig": { "access": "public" }, "lavamoat": { "allowScripts": { "@applitools/core>ws>bufferutil": false, "@applitools/core>ws>utf-8-validate": false, "@storybook/react>@pmmmwh/react-refresh-webpack-plugin>core-js-pure": false, "core-js": false, "puppeteer": true, "@storybook/react>core-js": false, "@applitools/ufg-client>@applitools/image>sharp": false, "puppeteer>puppeteer-core>ws>bufferutil": false, "puppeteer>puppeteer-core>ws>utf-8-validate": false } } }