UNPKG

3.33 kBJSONView Raw
1{
2 "name": "storybook-chromatic",
3 "version": "3.0.0",
4 "description": "Visual Testing for Storybook",
5 "main": "./storybook-addon.js",
6 "bin": {
7 "chromatic-cli": "./bin/register.js",
8 "chromatic": "./bin/register.js"
9 },
10 "license": "MIT",
11 "scripts": {
12 "prebuild": "rm -rf ./dist",
13 "build": "npm-run-all --serial -l build:**",
14 "build-storybook": "build-storybook",
15 "build:bin": "BABEL_ENV=build babel -s -d ./dist ./src -D",
16 "chromatic": "./bin/register.js",
17 "dev": "npm-run-all --parallel -l 'build:** -- --watch'",
18 "lint": "yarn lint:js src .storybook bin stories",
19 "lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.json,.mjs --report-unused-disable-directives",
20 "lint:package": "sort-package-json",
21 "prepare": "npm run build",
22 "storybook": "start-storybook -p 9009",
23 "test": "jest"
24 },
25 "dependencies": {
26 "@babel/preset-react": "^7.0.0",
27 "@babel/runtime": "^7.6.2",
28 "@chromaui/localtunnel": "2.0.1",
29 "async-retry": "^1.1.4",
30 "babel-plugin-require-context-hook": "^1.0.0",
31 "debug": "^4.1.1",
32 "denodeify": "^1.2.1",
33 "dotenv": "^8.1.0",
34 "enhanced-resolve": "^4.1.0",
35 "env-ci": "^4.1.3",
36 "esm": "^3.2.25",
37 "fake-tag": "^1.0.0",
38 "fs-extra": "^8.1.0",
39 "is-url": "^1.2.4",
40 "jest": "^24.9.0",
41 "jsdom": "^15.1.1",
42 "jsonfile": "^5.0.0",
43 "meow": "^5.0.0",
44 "minimatch": "^3.0.4",
45 "node-ask": "^1.0.1",
46 "node-fetch": "^2.6.0",
47 "node-loggly-bulk": "^2.2.4",
48 "npmlog": "^4.1.2",
49 "param-case": "^2.1.1",
50 "pino": "5.13.4",
51 "pkg-up": "^3.1.0",
52 "progress": "^2.0.3",
53 "progress-stream": "^2.0.0",
54 "rotating-file-stream": "^1.4.4",
55 "semver": "^6.2.0",
56 "strip-color": "^0.1.0",
57 "tmp": "^0.1.0",
58 "tree-kill": "^1.1.0",
59 "ts-dedent": "^1.1.0",
60 "util-deprecate": "^1.0.2",
61 "uuid": "^3.3.3",
62 "yarn-or-npm": "^3.0.1"
63 },
64 "husky": {
65 "hooks": {
66 "pre-commit": "yarn lint-staged"
67 }
68 },
69 "lint-staged": {
70 "linters": {
71 "*.js": [
72 "yarn lint:js --fix",
73 "git add"
74 ],
75 "*.json": [
76 "yarn lint:js --fix",
77 "git add"
78 ],
79 "package.json": [
80 "yarn lint:package",
81 "git add"
82 ]
83 }
84 },
85 "devDependencies": {
86 "@babel/cli": "^7.6.2",
87 "@babel/core": "^7.6.2",
88 "@babel/plugin-transform-runtime": "^7.6.2",
89 "@babel/preset-env": "7.6.2",
90 "@babel/register": "^7.6.2",
91 "@storybook/react": "5.2.1",
92 "@typescript-eslint/eslint-plugin": "^2.3.2",
93 "@typescript-eslint/parser": "^2.3.2",
94 "babel-loader": "8",
95 "babel-preset-jest": "^24.9.0",
96 "babel-preset-minify": "^0.5.1",
97 "chalk": "^2.4.2",
98 "cross-env": "^6.0.3",
99 "eslint": "^6.5.1",
100 "eslint-config-airbnb": "^18.0.1",
101 "eslint-config-prettier": "^6.3.0",
102 "eslint-plugin-import": "^2.16.0",
103 "eslint-plugin-jest": "^22.17.0",
104 "eslint-plugin-json": "^1.4.0",
105 "eslint-plugin-jsx-a11y": "^6.2.1",
106 "eslint-plugin-prettier": "^3.1.1",
107 "eslint-plugin-react": "^7.15.1",
108 "husky": "3.0.8",
109 "lint-staged": "^9.4.1",
110 "npm-run-all": "^4.0.2",
111 "prettier-eslint": "^9.0.0",
112 "prop-types": "^15.7.2",
113 "react": "^16.10.1",
114 "why-is-node-running": "^2.1.0"
115 }
116}