UNPKG

storybook-chrome-screenshot

Version:

A Storybook addon, Save the screenshot image of your stories! via puppeteer.

124 lines (123 loc) 3.4 kB
{ "name": "storybook-chrome-screenshot", "version": "1.4.0", "description": "A Storybook addon, Save the screenshot image of your stories! via puppeteer.", "main": "lib/index.js", "types": "lib/index.d.ts", "bin": { "storybook-chrome-screenshot": "lib/cli.js" }, "scripts": { "build": "tsc", "test": "yarn test:lint && yarn test:unit && yarn test:e2e", "test:lint": "tslint \"src/**/*.+(ts|tsx)\" --project tsconfig.json --format stylish", "test:unit": "jest", "test:e2e": "bash scripts/e2e.sh", "test:watch": "yarn test:unit --watch", "clean": "rm -rf lib", "format": "prettier --write \"**/*.+(ts|tsx|js|md|json)\"", "prebuild": "yarn clean", "prescreenshot": "yarn build", "prepublish": "yarn build" }, "repository": { "type": "git", "url": "git+https://github.com/tsuyoshiwada/storybook-chrome-screenshot.git" }, "author": "tsuyoshiwada", "license": "MIT", "bugs": { "url": "https://github.com/tsuyoshiwada/storybook-chrome-screenshot/issues" }, "homepage": "https://github.com/tsuyoshiwada/storybook-chrome-screenshot#readme", "files": [ "lib", "CHANGELOG.md", "README.md", "LICENSE", "package.json", "register.js" ], "keywords": [ "storybook", "addon", "puppeteer", "chrome", "screenshot", "capture", "visual-testing" ], "devDependencies": { "@storybook/addon-backgrounds": "4.0.2", "@storybook/addon-knobs": "4.0.2", "@storybook/react": "4.0.2", "@types/enzyme": "3.1.13", "@types/enzyme-adapter-react-16": "1.0.2", "@types/jest": "23.3.1", "@types/node": "10.5.6", "@types/react": "16.4.7", "@types/react-dom": "16.0.6", "babel-core": "6.26.3", "enzyme": "3.3.0", "enzyme-adapter-react-16": "1.1.1", "jest": "23.4.2", "prettier": "1.14.0", "react": "16.4.1", "react-dom": "16.4.1", "react-test-renderer": "16.4.1", "tslint": "5.11.0", "tslint-config-prettier": "1.14.0", "tslint-microsoft-contrib": "5.1.0", "tslint-react": "3.6.0", "typescript": "2.9.2", "vue-loader": "15.4.2" }, "dependencies": { "@types/imagesloaded": "^4.1.1", "@types/lodash": "^4.14.113", "@types/log-symbols": "^2.0.0", "@types/mkdirp": "^0.5.2", "@types/node-emoji": "^1.8.0", "@types/progress": "^2.0.1", "@types/puppeteer": "^1.5.1", "@types/query-string": "^6.1.0", "@types/sanitize-filename": "^1.1.28", "@types/storybook__react": "^4.0.0", "babel-polyfill": "^6.26.0", "chalk": "^2.4.1", "commander": "^2.16.0", "imagesloaded": "^4.1.4", "is-ci": "^1.1.0", "lodash": "^4.17.10", "log-symbols": "^2.2.0", "mkdirp": "^0.5.1", "node-emoji": "^1.8.1", "progress": "^2.0.0", "puppeteer": "^1.6.1", "query-string": "^6.1.0", "sanitize-filename": "^1.6.1", "util-inspect": "^0.1.8" }, "peerDependencies": { "@storybook/addons": ">=3.1.0", "react": ">=15.0.0 || ^16.0.0-alpha", "react-dom": ">=15.0.0 || ^16.0.0-alpha" }, "jest": { "setupFiles": [ "<rootDir>/jest/setupTests.ts" ], "moduleFileExtensions": [ "ts", "tsx", "js" ], "transform": { "^.+\\.(ts|tsx)$": "<rootDir>/jest/preprocessor.js" }, "testMatch": [ "**/__tests__/*.test.(ts|tsx)" ], "testURL": "http://localhost" } }