UNPKG

storybook-chromatic

Version:
124 lines (123 loc) 3.72 kB
{ "name": "storybook-chromatic", "version": "4.0.2", "description": "Visual Testing for Storybook", "bugs": { "url": "https://github.com/chromaui/chromatic-cli/issues" }, "repository": { "type": "git", "url": "https://github.com/chromaui/chromatic-cli.git" }, "license": "MIT", "main": "./storybook-addon.js", "bin": { "chroma": "./bin/register.js", "chromatic": "./bin/register.js", "chromatic-cli": "./bin/register.js" }, "scripts": { "prebuild": "rm -rf ./dist", "build": "npm-run-all --serial -l build:**", "build-storybook": "build-storybook -s static", "build:bin": "cross-env BABEL_ENV=build babel -s -d ./dist ./src -D", "chromatic": "node ./bin/register.js", "chromatic-prebuild": "node ./bin/register.js --storybook-build-dir=\"storybook-static\"", "chromatic-verbose": "cross-env LOG_LEVEL=verbose node ./bin/register.js", "dev": "npm-run-all --parallel -l 'build:** -- --watch'", "lint": "yarn lint:js src .storybook bin stories", "lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.json,.mjs --report-unused-disable-directives", "lint:package": "sort-package-json", "prepare": "npm run build", "storybook": "start-storybook -p 9009 -s static", "test": "jest" }, "husky": { "hooks": { "pre-commit": "yarn lint-staged" } }, "lint-staged": { "*.js": [ "yarn lint:js --fix" ], "*.json": [ "yarn lint:js --fix" ], "package.json": [ "yarn lint:package" ] }, "dependencies": { "@babel/preset-react": "^7.9.4", "@babel/runtime": "^7.9.2", "@chromaui/localtunnel": "2.0.1", "async-retry": "^1.3.1", "babel-plugin-require-context-hook": "^1.0.0", "cross-spawn": "^7.0.2", "debug": "^4.1.1", "denodeify": "^1.2.1", "dotenv": "^8.2.0", "enhanced-resolve": "^4.1.1", "env-ci": "^5.0.2", "esm": "^3.2.25", "fake-tag": "^2.0.0", "fs-extra": "^9.0.0", "is-url": "^1.2.4", "jest": "^25.2.7", "jsdom": "16.2.2", "jsonfile": "^6.0.1", "meow": "^6.1.0", "minimatch": "^3.0.4", "node-ask": "^1.0.1", "node-fetch": "^2.6.0", "node-loggly-bulk": "^2.2.4", "npmlog": "^4.1.2", "pino": "5.17.0", "pkg-up": "^3.1.0", "progress": "^2.0.3", "progress-stream": "^2.0.0", "rotating-file-stream": "^2.0.2", "semver": "^7.1.3", "slash": "^3.0.0", "strip-color": "^0.1.0", "tmp": "^0.1.0", "tree-kill": "^1.2.2", "ts-dedent": "^1.1.1", "util-deprecate": "^1.0.2", "uuid": "^7.0.3", "yarn-or-npm": "^3.0.1" }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.9.0", "@babel/plugin-transform-runtime": "^7.9.0", "@babel/preset-env": "7.9.0", "@babel/register": "^7.9.0", "@storybook/react": "5.3.18", "@typescript-eslint/eslint-plugin": "^2.26.0", "@typescript-eslint/parser": "^2.26.0", "babel-loader": "8.1.0", "babel-preset-jest": "^25.2.6", "babel-preset-minify": "^0.5.1", "chalk": "^3.0.0", "cross-env": "^7.0.2", "eslint": "^6.8.0", "eslint-config-airbnb": "^18.1.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-import": "^2.20.2", "eslint-plugin-jest": "^23.8.2", "eslint-plugin-json": "^2.1.1", "eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.19.0", "husky": "4.2.3", "lint-staged": "^10.1.2", "npm-run-all": "^4.0.2", "prettier-eslint": "^9.0.1", "prop-types": "^15.7.2", "react": "^16.13.1", "sort-package-json": "1.40.0", "why-is-node-running": "^2.1.2" } }