UNPKG

3.9 kBJSONView Raw
1{
2 "name": "chromatic",
3 "version": "5.7.0",
4 "description": "Visual Testing for Storybook",
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-prebuild": "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 "prepare": "npm run build",
45 "publish-action": "yarn build:action && node scripts/publish-action.js",
46 "storybook": "start-storybook -p 9009 -s static",
47 "test": "jest"
48 },
49 "husky": {
50 "hooks": {
51 "pre-commit": "yarn lint-staged"
52 }
53 },
54 "lint-staged": {
55 "*.js": [
56 "yarn lint:js --fix"
57 ],
58 "*.json": [
59 "yarn lint:js --fix"
60 ],
61 "package.json": [
62 "yarn lint:package"
63 ]
64 },
65 "dependencies": {
66 "@actions/core": "^1.2.4",
67 "@actions/github": "^4.0.0",
68 "@babel/runtime": "^7.12.13",
69 "@chromaui/localtunnel": "^2.0.2",
70 "async-retry": "^1.3.1",
71 "chalk": "^4.0.0",
72 "cross-spawn": "^7.0.2",
73 "debug": "^4.3.1",
74 "dotenv": "^8.2.0",
75 "env-ci": "^5.0.2",
76 "esm": "^3.2.25",
77 "execa": "^5.0.0",
78 "fake-tag": "^2.0.0",
79 "fs-extra": "^9.1.0",
80 "jsonfile": "^6.0.1",
81 "junit-report-builder": "2.1.0",
82 "listr": "0.14.3",
83 "meow": "^8.0.0",
84 "node-ask": "^1.0.1",
85 "node-fetch": "^2.6.0",
86 "node-loggly-bulk": "^2.2.4",
87 "p-limit": "3.1.0",
88 "picomatch": "2.2.2",
89 "pkg-up": "^3.1.0",
90 "pluralize": "^8.0.0",
91 "progress-stream": "^2.0.0",
92 "semver": "^7.3.4",
93 "slash": "^3.0.0",
94 "strip-ansi": "6.0.0",
95 "tmp-promise": "3.0.2",
96 "tree-kill": "^1.2.2",
97 "ts-dedent": "^1.0.0",
98 "util-deprecate": "^1.0.2",
99 "uuid": "^8.3.2",
100 "yarn-or-npm": "^3.0.1"
101 },
102 "devDependencies": {
103 "@babel/cli": "^7.12.13",
104 "@babel/core": "^7.12.13",
105 "@babel/plugin-transform-runtime": "^7.12.15",
106 "@babel/preset-env": "7.12.13",
107 "@storybook/eslint-config-storybook": "^3.0.0",
108 "@storybook/linter-config": "^3.0.0",
109 "@storybook/react": "6.1.17",
110 "@types/node": "^14.14.25",
111 "@typescript-eslint/eslint-plugin": "^4.15.0",
112 "@typescript-eslint/parser": "^4.15.0",
113 "ansi-html": "0.0.7",
114 "cpy": "^8.1.1",
115 "cross-env": "^7.0.3",
116 "eslint": "^7.19.0",
117 "husky": "5.0.9",
118 "jest": "^26.6.1",
119 "lint-staged": "^10.5.4",
120 "npm-run-all": "^4.0.2",
121 "prettier": "^2.2.1",
122 "prop-types": "^15.7.2",
123 "react": "^17.0.1",
124 "react-dom": "^17.0.1",
125 "sort-package-json": "1.48.1",
126 "typescript": "^4.1.4",
127 "why-is-node-running": "^2.1.2"
128 },
129 "docs": "https://www.chromatic.com/docs/cli"
130}