1 | {
|
2 | "name": "creevey",
|
3 | "description": "creevey is a tool for automated visual testing, that tightly integrated with storybook",
|
4 | "version": "0.7.7",
|
5 | "bin": {
|
6 | "creevey": "./lib/cli.js"
|
7 | },
|
8 | "main": "lib/index.js",
|
9 | "types": "lib/index.d.ts",
|
10 | "author": "Dmitriy Lazarev <w@kich.dev>",
|
11 | "repository": {
|
12 | "type": "git",
|
13 | "url": "https://github.com/wKich/creevey.git"
|
14 | },
|
15 | "license": "MIT",
|
16 | "scripts": {
|
17 | "commit": "git-cz",
|
18 | "clean": "rimraf lib",
|
19 | "lint": "run-p --continue-on-error lint:*",
|
20 | "lint:tsc": "tsc --noEmit",
|
21 | "lint:eslint": "eslint --ext .js,.ts,.tsx ./",
|
22 | "lint:prettier": "prettier --check *.{md,json,js,ts} ./**/*.{js,ts,tsx}",
|
23 | "test": "run-p test:*",
|
24 | "test:unit": "mocha ./tests/{client,server}/**/*.test.ts ./tests/*.test.ts",
|
25 | "test:e2e": "mocha ./tests/e2e/**/*.test.ts",
|
26 | "start": "cross-env NODE_ENV=test run-p start:*",
|
27 | "start:client": "webpack-dev-server",
|
28 | "start:storybook": "start-storybook --ci -p 6006",
|
29 | "start:creevey": "wait-on -t 60000 http-get://localhost:6006/ && yarn creevey --ui",
|
30 | "creevey": "node --require ./scripts/babel-register -- src/cli",
|
31 | "fix": "run-s fix:*",
|
32 | "fix:eslint": "eslint --fix ./",
|
33 | "fix:prettier": "prettier --write .",
|
34 | "prebuild": "yarn clean && mkdir lib",
|
35 | "build": "run-p --continue-on-error build:*",
|
36 | "build:types": "tsc --emitDeclarationOnly -p scripts/tsconfig.prod.json",
|
37 | "build:creevey": "babel src --out-dir lib --extensions .ts,.tsx --ignore src/client/web",
|
38 | "build:client": "webpack --mode production",
|
39 | "postbuild": "cp scripts/dist/* lib/",
|
40 | "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
|
41 | "prepublishOnly": "yarn build"
|
42 | },
|
43 | "engines": {
|
44 | "node": ">=10.10"
|
45 | },
|
46 | "dependencies": {
|
47 | "@babel/generator": "^7.12.5",
|
48 | "@babel/parser": "^7.12.7",
|
49 | "@babel/traverse": "^7.12.7",
|
50 | "@babel/types": "^7.12.7",
|
51 | "@octokit/core": "^3.2.4",
|
52 | "@storybook/components": "^6.1.2",
|
53 | "@storybook/csf": "^0.0.1",
|
54 | "@storybook/theming": "^6.1.2",
|
55 | "@types/chai": "^4.2.14",
|
56 | "@types/selenium-webdriver": "^4.0.10",
|
57 | "airbnb-js-shims": "^2.2.1",
|
58 | "chai": "^4.2.0",
|
59 | "chalk": "^4.1.0",
|
60 | "chokidar": "^3.4.3",
|
61 | "core-js": "^3.7.0",
|
62 | "dockerode": "^3.2.1",
|
63 | "event-source-polyfill": "^1.0.21",
|
64 | "find-cache-dir": "^3.3.1",
|
65 | "jsdom": "^16.4.0",
|
66 | "jsdom-global": "^3.0.2",
|
67 | "koa": "^2.13.0",
|
68 | "koa-mount": "^4.0.0",
|
69 | "koa-static": "^5.0.0",
|
70 | "loader-utils": "^2.0.0",
|
71 | "lodash": "^4.17.20",
|
72 | "minimist": "^1.2.5",
|
73 | "mocha": "~8.2.1",
|
74 | "null-loader": "^4.0.1",
|
75 | "ora": "^5.1.0",
|
76 | "pixelmatch": "^5.2.1",
|
77 | "pngjs": "^6.0.0",
|
78 | "polished": "^3.4.4",
|
79 | "regenerator-runtime": "^0.13.7",
|
80 | "schema-utils": "^3.0.0",
|
81 | "selenium-webdriver": "^4.0.0-alpha.7",
|
82 | "tsconfig-paths": "^3.9.0",
|
83 | "webpack-node-externals": "^2.5.2",
|
84 | "ws": "^7.4.0"
|
85 | },
|
86 | "devDependencies": {
|
87 | "@babel/cli": "^7.12.7",
|
88 | "@babel/core": "^7.12.7",
|
89 | "@babel/plugin-proposal-class-properties": "^7.12.1",
|
90 | "@babel/preset-env": "^7.12.7",
|
91 | "@babel/preset-react": "^7.12.7",
|
92 | "@babel/preset-typescript": "^7.12.7",
|
93 | "@babel/register": "^7.12.1",
|
94 | "@storybook/addon-essentials": "^6.1.2",
|
95 | "@storybook/addons": "^6.1.2",
|
96 | "@storybook/api": "^6.1.2",
|
97 | "@storybook/channels": "^6.1.2",
|
98 | "@storybook/client-api": "^6.1.2",
|
99 | "@storybook/client-logger": "^6.1.2",
|
100 | "@storybook/core": "^6.1.2",
|
101 | "@storybook/core-events": "^6.1.2",
|
102 | "@storybook/react": "^6.1.2",
|
103 | "@types/babel__generator": "^7.6.2",
|
104 | "@types/babel__traverse": "^7.0.15",
|
105 | "@types/dockerode": "^3.2.1",
|
106 | "@types/find-cache-dir": "^3.2.0",
|
107 | "@types/html-webpack-plugin": "^3.2.4",
|
108 | "@types/koa": "^2.11.6",
|
109 | "@types/koa-mount": "^4.0.0",
|
110 | "@types/koa-static": "^4.0.1",
|
111 | "@types/loader-utils": "^2.0.1",
|
112 | "@types/lodash": "^4.14.165",
|
113 | "@types/minimist": "^1.2.1",
|
114 | "@types/mocha": "^8.0.4",
|
115 | "@types/node": "^14.14.9",
|
116 | "@types/pixelmatch": "^5.2.2",
|
117 | "@types/pngjs": "^3.4.2",
|
118 | "@types/react": "^17.0.0",
|
119 | "@types/react-dom": "^17.0.0",
|
120 | "@types/resize-observer-browser": "^0.1.4",
|
121 | "@types/shelljs": "^0.8.8",
|
122 | "@types/tmp": "^0.2.0",
|
123 | "@types/webpack": "^4.41.25",
|
124 | "@types/webpack-dev-server": "^3.11.1",
|
125 | "@types/webpack-node-externals": "^2.5.0",
|
126 | "@types/ws": "^7.4.0",
|
127 | "@typescript-eslint/eslint-plugin": "^4.8.1",
|
128 | "@typescript-eslint/parser": "^4.8.1",
|
129 | "babel-loader": "^8.2.1",
|
130 | "conventional-changelog-cli": "^2.1.1",
|
131 | "cross-env": "^7.0.2",
|
132 | "eslint": "^7.14.0",
|
133 | "eslint-config-prettier": "^7.0.0",
|
134 | "eslint-plugin-import": "^2.22.1",
|
135 | "eslint-plugin-jsx-a11y": "^6.4.1",
|
136 | "eslint-plugin-node": "^11.1.0",
|
137 | "eslint-plugin-react": "^7.21.5",
|
138 | "eslint-plugin-react-hooks": "^4.2.0",
|
139 | "git-cz": "^4.7.4",
|
140 | "html-webpack-plugin": "^4.5.0",
|
141 | "husky": "^4.3.0",
|
142 | "immer": "^8.0.0",
|
143 | "lint-staged": "^10.5.1",
|
144 | "npm-run-all": "^4.1.5",
|
145 | "prettier": "^2.2.0",
|
146 | "react": "^17.0.1",
|
147 | "react-dom": "^17.0.1",
|
148 | "react-is": "^17.0.1",
|
149 | "rimraf": "^3.0.2",
|
150 | "shelljs": "^0.8.4",
|
151 | "tmp": "^0.2.1",
|
152 | "typescript": "^4.1.2",
|
153 | "use-immer": "^0.4.2",
|
154 | "wait-on": "^5.2.0",
|
155 | "webpack": "^4.44.2",
|
156 | "webpack-cli": "^3.3.12",
|
157 | "webpack-dev-server": "^3.11.0"
|
158 | },
|
159 | "config": {
|
160 | "commitizen": {
|
161 | "path": "./node_modules/git-cz"
|
162 | }
|
163 | },
|
164 | "husky": {
|
165 | "hooks": {
|
166 | "pre-commit": "lint-staged"
|
167 | }
|
168 | },
|
169 | "lint-staged": {
|
170 | "**/*.(j|t)s?(x)": [
|
171 | "eslint --fix",
|
172 | "prettier --write"
|
173 | ],
|
174 | "**/*.(md|json)": [
|
175 | "prettier --write"
|
176 | ]
|
177 | }
|
178 | }
|