UNPKG

creevey

Version:

creevey is a tool for automated visual testing, that tightly integrated with storybook

155 lines (154 loc) 4.94 kB
{ "name": "creevey", "description": "creevey is a tool for automated visual testing, that tightly integrated with storybook", "version": "0.5.4", "bin": { "creevey": "./lib/cli.js" }, "main": "lib/index.js", "types": "lib/index.d.ts", "author": "Dmitriy Lazarev <w@kich.dev>", "repository": { "type": "git", "url": "https://github.com/wKich/creevey.git" }, "license": "MIT", "scripts": { "commit": "git-cz", "clean": "rimraf lib", "lint": "npm-run-all --continue-on-error --parallel lint:*", "lint:tsc": "tsc --noEmit", "lint:eslint": "eslint --ext .js,.ts,.tsx ./", "lint:prettier": "prettier --check *.{md,json,js,ts} ./**/*.{js,ts,tsx}", "test": "npm-run-all --parallel test:*", "test:unit": "mocha", "test:ui": "node --require ./scripts/babel-register -- src/cli", "start": "cross-env NODE_ENV=test npm-run-all --parallel start:*", "start:client": "webpack-dev-server", "start:storybook": "start-storybook --ci -p 6006", "start:creevey": "wait-on -t 30000 http-get://localhost:6006/ && node --require ./scripts/babel-register -- src/cli --ui", "fix": "npm-run-all fix:*", "fix:eslint": "eslint --fix ./", "fix:prettier": "prettier --write *.{md,json,js,ts} ./**/*.{js,ts,tsx}", "prebuild": "yarn clean && mkdir lib", "build": "npm-run-all --continue-on-error --parallel build:*", "build:types": "tsc --emitDeclarationOnly -p scripts/tsconfig.prod.json", "build:creevey": "babel src --out-dir lib --extensions .ts,.tsx --ignore src/client", "build:client": "webpack --mode production", "postbuild": "cp scripts/dist/* lib/", "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", "prepublishOnly": "yarn build" }, "engines": { "node": ">=10" }, "peerDependencies": { "@storybook/core": "4.* || 5.*" }, "dependencies": { "@storybook/csf": "^0.0.1", "@types/chai": "^4.2.11", "@types/selenium-webdriver": "^4.0.9", "chai": "^4.2.0", "chalk": "^4.0.0", "chokidar": "^3.3.1", "event-source-polyfill": "^1.0.12", "glob-base": "^0.3.0", "interpret": "^2.0.0", "jsdom": "^16.2.2", "jsdom-global": "^3.0.2", "koa": "^2.11.0", "koa-mount": "^4.0.0", "koa-static": "^5.0.0", "micromatch": "^4.0.2", "minimist": "^1.2.5", "mocha": "^7.1.1", "pirates": "^4.0.1", "pixelmatch": "^5.1.0", "pngjs": "^3.4.0", "selenium-webdriver": "^4.0.0-alpha.7", "ws": "^7.2.3" }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.9.0", "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/preset-env": "^7.9.0", "@babel/preset-react": "^7.9.4", "@babel/preset-typescript": "^7.9.0", "@babel/register": "^7.9.0", "@emotion/babel-preset-css-prop": "^10.0.27", "@emotion/core": "^10.0.28", "@skbkontur/react-icons": "^4.1.0", "@skbkontur/react-ui": "2.0.0", "@storybook/react": "^5.3.18", "@types/glob-base": "^0.3.0", "@types/html-minifier-terser": "^5.0.0", "@types/html-webpack-plugin": "^3.2.2", "@types/interpret": "^1.1.1", "@types/koa": "^2.11.3", "@types/koa-mount": "^4.0.0", "@types/koa-static": "^4.0.1", "@types/lodash": "^4.14.149", "@types/micromatch": "^4.0.1", "@types/minimist": "^1.2.0", "@types/mocha": "^7.0.2", "@types/node": "^13.9.8", "@types/pixelmatch": "^5.1.0", "@types/pngjs": "^3.4.2", "@types/react": "^16.9.31", "@types/react-dom": "^16.9.6", "@types/webpack": "^4.41.10", "@types/webpack-dev-server": "^3.10.1", "@types/ws": "^7.2.3", "@typescript-eslint/eslint-plugin": "^2.26.0", "@typescript-eslint/parser": "^2.26.0", "babel-loader": "^8.1.0", "conventional-changelog-cli": "^2.0.31", "cross-env": "^7.0.2", "css-loader": "^3.4.2", "eslint": "^6.8.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-import": "^2.20.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^3.0.0", "file-loader": "^6.0.0", "git-cz": "^4.3.1", "html-webpack-plugin": "^4.0.4", "husky": "^4.2.3", "immer": "^6.0.3", "lint-staged": "^10.1.1", "npm-run-all": "^4.1.5", "prettier": "^2.0.2", "react": "^16.13.1", "react-dom": "^16.13.1", "rimraf": "^3.0.2", "style-loader": "^1.1.3", "typescript": "^3.8.3", "use-immer": "^0.3.5", "wait-on": "^4.0.1", "webpack": "^4.42.1", "webpack-cli": "^3.3.11", "webpack-dev-server": "^3.10.3" }, "config": { "commitizen": { "path": "./node_modules/git-cz" } }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "**/*.(j|t)s?(x)": [ "eslint --fix", "prettier --write" ], "**/*.(md|json)": [ "prettier --write" ] } }