@chromatic-com/storybook 0.0.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +91 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +13 -0
- package/dist/index.mjs.map +1 -0
- package/dist/manager.mjs +292 -0
- package/dist/manager.mjs.map +1 -0
- package/jest.config.js +5 -0
- package/package.json +161 -0
package/jest.config.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@chromatic-com/storybook",
|
|
3
|
+
"version": "0.0.124",
|
|
4
|
+
"description": "Visual Testing addon with Chromatic",
|
|
5
|
+
"engines": {
|
|
6
|
+
"node": ">=16.0.0",
|
|
7
|
+
"yarn": ">=1.22.18"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"tests",
|
|
11
|
+
"visual tests",
|
|
12
|
+
"vrt",
|
|
13
|
+
"chromatic",
|
|
14
|
+
"storybook-addons"
|
|
15
|
+
],
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/chromaui/addon-visual-tests"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"author": "Chromatic <support@chromatic.com>",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"require": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./manager": {
|
|
27
|
+
"import": "./dist/manager.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./package.json": "./package.json"
|
|
30
|
+
},
|
|
31
|
+
"main": "dist/index.js",
|
|
32
|
+
"files": [
|
|
33
|
+
"dist/**/*",
|
|
34
|
+
"README.md",
|
|
35
|
+
"*.js",
|
|
36
|
+
"*.d.ts"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsup",
|
|
40
|
+
"build:staging": "CHROMATIC_BASE_URL=https://www.staging-chromatic.com tsup",
|
|
41
|
+
"build:watch": "run-p 'build --watch' 'codegen --watch'",
|
|
42
|
+
"build-storybook": "storybook build",
|
|
43
|
+
"chromatic": "chromatic -t 9b39ff142a7f",
|
|
44
|
+
"codegen": "graphql-codegen",
|
|
45
|
+
"lint": "eslint src --max-warnings 0 --report-unused-disable-directives",
|
|
46
|
+
"release": "yarn run build && auto shipit",
|
|
47
|
+
"start": "run-p build:watch 'storybook --quiet'",
|
|
48
|
+
"prerelease": "zx scripts/prepublish-checks.mjs",
|
|
49
|
+
"storybook": "CHROMATIC_ADDON_NAME='../src/dev.ts' storybook dev -p 6006",
|
|
50
|
+
"storybook-from-dist": "CHROMATIC_USE_DIST_VERSION=true CHROMATIC_ADDON_NAME='../dist/index.js' storybook dev -p 6006",
|
|
51
|
+
"test": "jest",
|
|
52
|
+
"typecheck": "tsc --noemit"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@storybook/design-system": "^7.15.15",
|
|
56
|
+
"@urql/exchange-auth": "^2.1.6",
|
|
57
|
+
"chromatic": "^10.6.0",
|
|
58
|
+
"date-fns": "^2.30.0",
|
|
59
|
+
"filesize": "^10.0.12",
|
|
60
|
+
"jsonfile": "^6.1.0",
|
|
61
|
+
"pluralize": "^8.0.0",
|
|
62
|
+
"ts-dedent": "^2.2.0",
|
|
63
|
+
"urql": "^4.0.3",
|
|
64
|
+
"uuid": "^9.0.0",
|
|
65
|
+
"zod": "^3.22.2"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@graphql-codegen/cli": "^4.0.1",
|
|
69
|
+
"@graphql-codegen/client-preset": "^4.0.1",
|
|
70
|
+
"@graphql-typed-document-node/core": "^3.2.0",
|
|
71
|
+
"@storybook/addon-actions": "7.6.4",
|
|
72
|
+
"@storybook/addon-designs": "^7.0.7",
|
|
73
|
+
"@storybook/addon-essentials": "7.6.4",
|
|
74
|
+
"@storybook/addon-interactions": "7.6.4",
|
|
75
|
+
"@storybook/addon-mdx-gfm": "7.6.4",
|
|
76
|
+
"@storybook/blocks": "7.6.4",
|
|
77
|
+
"@storybook/channels": "7.6.4",
|
|
78
|
+
"@storybook/client-logger": "7.6.4",
|
|
79
|
+
"@storybook/components": "7.6.4",
|
|
80
|
+
"@storybook/core-events": "7.6.4",
|
|
81
|
+
"@storybook/eslint-config-storybook": "^3.1.2",
|
|
82
|
+
"@storybook/jest": "^0.2.3",
|
|
83
|
+
"@storybook/manager": "7.6.4",
|
|
84
|
+
"@storybook/manager-api": "7.6.4",
|
|
85
|
+
"@storybook/preview": "7.6.4",
|
|
86
|
+
"@storybook/react": "7.6.4",
|
|
87
|
+
"@storybook/react-vite": "7.6.4",
|
|
88
|
+
"@storybook/theming": "7.6.4",
|
|
89
|
+
"@storybook/testing-library": "^0.2.2",
|
|
90
|
+
"@storybook/types": "7.6.4",
|
|
91
|
+
"@types/jest": "^29.5.3",
|
|
92
|
+
"@types/jsonfile": "^6.1.1",
|
|
93
|
+
"@types/node": "^18.15.0",
|
|
94
|
+
"@types/pluralize": "^0.0.29",
|
|
95
|
+
"@types/react": "^16.14.0",
|
|
96
|
+
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
|
97
|
+
"@typescript-eslint/parser": "^5.59.11",
|
|
98
|
+
"@vitejs/plugin-react": "^3.1.0",
|
|
99
|
+
"auto": "^10.3.0",
|
|
100
|
+
"boxen": "^5.0.1",
|
|
101
|
+
"dedent": "^0.7.0",
|
|
102
|
+
"eslint": "^8.42.0",
|
|
103
|
+
"eslint-plugin-jest": "^27.2.1",
|
|
104
|
+
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
105
|
+
"eslint-plugin-storybook": "^0.6.15",
|
|
106
|
+
"graphql": "^16.8.1",
|
|
107
|
+
"jest": "^29.5.0",
|
|
108
|
+
"msw": "^2.0.0",
|
|
109
|
+
"msw-storybook-addon": "2.0.0--canary.122.b3ed3b1.0",
|
|
110
|
+
"npm-run-all": "^4.1.5",
|
|
111
|
+
"polished": "^4.2.2",
|
|
112
|
+
"prettier": "^2.8.8",
|
|
113
|
+
"prompts": "^2.4.2",
|
|
114
|
+
"prop-types": "^15.8.1",
|
|
115
|
+
"react": "^16.14.0",
|
|
116
|
+
"react-dom": "^16.14.0",
|
|
117
|
+
"rimraf": "^3.0.2",
|
|
118
|
+
"storybook": "7.6.4",
|
|
119
|
+
"ts-jest": "^29.1.1",
|
|
120
|
+
"tsup": "^6.6.3",
|
|
121
|
+
"typescript": "^4.9.5",
|
|
122
|
+
"vite": "^4.1.4",
|
|
123
|
+
"vite-plugin-environment": "^1.1.3",
|
|
124
|
+
"vite-plugin-turbosnap": "^1.0.3",
|
|
125
|
+
"zx": "^1.14.1"
|
|
126
|
+
},
|
|
127
|
+
"publishConfig": {
|
|
128
|
+
"access": "public"
|
|
129
|
+
},
|
|
130
|
+
"msw": {
|
|
131
|
+
"workerDirectory": "public"
|
|
132
|
+
},
|
|
133
|
+
"resolutions": {
|
|
134
|
+
"react": "^16.14.0",
|
|
135
|
+
"react-dom": "^16.14.0",
|
|
136
|
+
"jackspeak": "2.1.1"
|
|
137
|
+
},
|
|
138
|
+
"storybook": {
|
|
139
|
+
"displayName": "Visual Tests",
|
|
140
|
+
"supportedFrameworks": [
|
|
141
|
+
"react",
|
|
142
|
+
"vue",
|
|
143
|
+
"angular",
|
|
144
|
+
"web-components",
|
|
145
|
+
"ember",
|
|
146
|
+
"html",
|
|
147
|
+
"svelte",
|
|
148
|
+
"preact",
|
|
149
|
+
"react-native"
|
|
150
|
+
],
|
|
151
|
+
"icon": "https://user-images.githubusercontent.com/341738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png"
|
|
152
|
+
},
|
|
153
|
+
"bundler": {
|
|
154
|
+
"exportEntries": [
|
|
155
|
+
"src/index.ts"
|
|
156
|
+
],
|
|
157
|
+
"managerEntries": [
|
|
158
|
+
"src/manager.tsx"
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
}
|