1 | {
|
2 | "name": "chromatic",
|
3 | "version": "5.8.2",
|
4 | "description": "Automate visual testing across browsers. Gather UI feedback. Versioned documentation.",
|
5 | "homepage": "https://www.chromatic.com",
|
6 | "bugs": {
|
7 | "url": "https://github.com/chromaui/chromatic-cli",
|
8 | "email": "support@chromatic.com"
|
9 | },
|
10 | "repository": {
|
11 | "type": "git",
|
12 | "url": "https://github.com/chromaui/chromatic-cli.git"
|
13 | },
|
14 | "license": "MIT",
|
15 | "main": "./storybook-addon.js",
|
16 | "types": "./storybook-addon.d.ts",
|
17 | "bin": {
|
18 | "chroma": "bin/register.js",
|
19 | "chromatic": "bin/register.js",
|
20 | "chromatic-cli": "bin/register.js"
|
21 | },
|
22 | "files": [
|
23 | "bin",
|
24 | "dist",
|
25 | "isChromatic.js",
|
26 | "isChromatic.d.ts",
|
27 | "storybook-addon.js",
|
28 | "storybook-addon.d.ts"
|
29 | ],
|
30 | "scripts": {
|
31 | "prebuild": "rm -rf ./dist",
|
32 | "build": "npm-run-all --serial -l build:**",
|
33 | "build-storybook": "build-storybook -s static",
|
34 | "build:action": "tsc",
|
35 | "build:bin": "cross-env BABEL_ENV=build babel -s -d ./dist ./src -D",
|
36 | "chromatic": "node ./bin/register.js",
|
37 | "chromatic-prebuilt": "node ./bin/register.js --storybook-build-dir=\"storybook-static\"",
|
38 | "chromatic-staging": "CHROMATIC_INDEX_URL=https://www.staging-chromatic.com node ./bin/register.js",
|
39 | "chromatic-verbose": "cross-env LOG_LEVEL=verbose node ./bin/register.js",
|
40 | "dev": "npm-run-all --parallel -l 'build:** -- --watch'",
|
41 | "lint": "yarn lint:js src .storybook bin stories",
|
42 | "lint:js": "cross-env NODE_ENV=production eslint --fix --cache --cache-location=.cache/eslint --ext .js,.json,.mjs --report-unused-disable-directives",
|
43 | "lint:package": "sort-package-json",
|
44 | "prepublish": "npm run build",
|
45 | "postpublish": "npm run publish-action",
|
46 | "publish-action": "yarn build:action && node scripts/publish-action.js",
|
47 | "trim-stats": "node -r esm scripts/trim-stats-file.js",
|
48 | "stats-to-story-files": "node -r esm scripts/stats-to-story-files.js",
|
49 | "storybook": "start-storybook -p 9009 -s static",
|
50 | "test": "jest"
|
51 | },
|
52 | "husky": {
|
53 | "hooks": {
|
54 | "pre-commit": "yarn lint-staged"
|
55 | }
|
56 | },
|
57 | "lint-staged": {
|
58 | "*.js": [
|
59 | "yarn lint:js --fix"
|
60 | ],
|
61 | "*.json": [
|
62 | "yarn lint:js --fix"
|
63 | ],
|
64 | "package.json": [
|
65 | "yarn lint:package"
|
66 | ]
|
67 | },
|
68 | "dependencies": {
|
69 | "@actions/core": "^1.2.4",
|
70 | "@actions/github": "^4.0.0",
|
71 | "@babel/runtime": "^7.12.13",
|
72 | "@chromaui/localtunnel": "^2.0.2",
|
73 | "async-retry": "^1.3.1",
|
74 | "chalk": "^4.0.0",
|
75 | "cross-spawn": "^7.0.2",
|
76 | "debug": "^4.3.1",
|
77 | "dotenv": "^8.2.0",
|
78 | "env-ci": "^5.0.2",
|
79 | "esm": "^3.2.25",
|
80 | "execa": "^5.0.0",
|
81 | "fake-tag": "^2.0.0",
|
82 | "fs-extra": "^9.1.0",
|
83 | "jsonfile": "^6.0.1",
|
84 | "junit-report-builder": "2.1.0",
|
85 | "listr": "0.14.3",
|
86 | "meow": "^8.0.0",
|
87 | "node-ask": "^1.0.1",
|
88 | "node-fetch": "^2.6.0",
|
89 | "node-loggly-bulk": "^2.2.4",
|
90 | "p-limit": "3.1.0",
|
91 | "picomatch": "2.2.2",
|
92 | "pkg-up": "^3.1.0",
|
93 | "pluralize": "^8.0.0",
|
94 | "progress-stream": "^2.0.0",
|
95 | "semver": "^7.3.4",
|
96 | "slash": "^3.0.0",
|
97 | "string-argv": "^0.3.1",
|
98 | "strip-ansi": "6.0.0",
|
99 | "tmp-promise": "3.0.2",
|
100 | "tree-kill": "^1.2.2",
|
101 | "ts-dedent": "^1.0.0",
|
102 | "util-deprecate": "^1.0.2",
|
103 | "uuid": "^8.3.2",
|
104 | "yarn-or-npm": "^3.0.1"
|
105 | },
|
106 | "devDependencies": {
|
107 | "@babel/cli": "^7.12.13",
|
108 | "@babel/core": "^7.12.13",
|
109 | "@babel/plugin-transform-runtime": "^7.12.13",
|
110 | "@babel/preset-env": "^7.12.13",
|
111 | "@storybook/eslint-config-storybook": "^3.0.0",
|
112 | "@storybook/linter-config": "^3.0.0",
|
113 | "@storybook/react": "^6.2.8",
|
114 | "@types/node": "^14.14.25",
|
115 | "@typescript-eslint/eslint-plugin": "^4.15.0",
|
116 | "@typescript-eslint/parser": "^4.15.0",
|
117 | "ansi-html": "0.0.7",
|
118 | "babel-preset-minify": "^0.5.1",
|
119 | "cpy": "^8.1.1",
|
120 | "cross-env": "^7.0.3",
|
121 | "eslint": "^7.19.0",
|
122 | "husky": "5.0.9",
|
123 | "jest": "^26.6.1",
|
124 | "lint-staged": "^10.5.4",
|
125 | "npm-run-all": "^4.0.2",
|
126 | "prettier": "^2.2.1",
|
127 | "prop-types": "^15.7.2",
|
128 | "react": "^17.0.1",
|
129 | "react-dom": "^17.0.1",
|
130 | "sort-package-json": "1.48.1",
|
131 | "typescript": "^4.1.4",
|
132 | "why-is-node-running": "^2.1.2"
|
133 | },
|
134 | "docs": "https://www.chromatic.com/docs/cli",
|
135 | "keywords": [
|
136 | "storybook-addon",
|
137 | "storybook",
|
138 | "addon",
|
139 | "test",
|
140 | "popular"
|
141 | ],
|
142 | "storybook": {
|
143 | "icon": "https://user-images.githubusercontent.com/263385/101995175-2e087800-3c96-11eb-9a33-9860a1c3ce62.gif",
|
144 | "displayName": "Chromatic"
|
145 | }
|
146 | }
|