Skip to content

Commit f6c1967

Browse files
committed
chore: add chromatic
1 parent cb503a1 commit f6c1967

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

package.json

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@
22
"name": "react-simple-typewriter",
33
"version": "4.0.1",
44
"description": "A simple react component for adding a nice typewriter effect to your project.",
5-
"author": "awran5 <[email protected]>",
5+
"author": {
6+
"name": "awran5",
7+
"email": "[email protected]"
8+
},
69
"license": "MIT",
7-
"repository": "https://github.com/awran5/react-simple-typewriter",
8-
"bugs": "https://github.com/awran5/react-simple-typewriter/issues",
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/awran5/react-simple-typewriter.git"
13+
},
14+
"bugs": {
15+
"url": "https://github.com/awran5/react-simple-typewriter/issues"
16+
},
917
"homepage": "https://react-simple-typewriter.vercel.app/",
1018
"main": "dist/index.js",
1119
"module": "dist/index.js",
@@ -22,7 +30,8 @@
2230
"prepublishOnly": "git push && git push --tags && gh-release",
2331
"storybook": "start-storybook -p 6006",
2432
"publish": "npm publish",
25-
"build-storybook": "build-storybook"
33+
"build-storybook": "build-storybook",
34+
"chromatic": "npx chromatic --project-token=9b3e59816589"
2635
},
2736
"peerDependencies": {
2837
"react": "^18.2.0",
@@ -48,6 +57,7 @@
4857
"auto-changelog": "^2.4.0",
4958
"autoprefixer": "^10.4.8",
5059
"babel-loader": "^8.2.5",
60+
"chromatic": "^6.9.0",
5161
"gh-pages": "^4.0.0",
5262
"gh-release": "^6.0.4",
5363
"postcss": "^8.4.16",
@@ -85,5 +95,7 @@
8595
"react": "^18.2.0",
8696
"react-dom": "^18.2.0",
8797
"react-scripts": "^5.0.1"
88-
}
98+
},
99+
"readme": "ERROR: No README data found!",
100+
89101
}

yarn.lock

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@
13581358
"@devtools-ds/themes" "^1.2.0"
13591359
clsx "1.1.0"
13601360

1361-
"@discoveryjs/json-ext@^0.5.3":
1361+
"@discoveryjs/json-ext@^0.5.3", "@discoveryjs/json-ext@^0.5.7":
13621362
version "0.5.7"
13631363
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
13641364
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==
@@ -3483,7 +3483,7 @@
34833483
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d"
34843484
integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==
34853485

3486-
"@types/webpack-env@^1.16.0":
3486+
"@types/webpack-env@^1.16.0", "@types/webpack-env@^1.17.0":
34873487
version "1.18.0"
34883488
resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.18.0.tgz#ed6ecaa8e5ed5dfe8b2b3d00181702c9925f13fb"
34893489
integrity sha512-56/MAlX5WMsPVbOg7tAxnYvNYMMWr/QJiIp6BxVSW3JJXUVzzOn64qW8TzQyMSqSUFM2+PVI4aUHcHOzIz/1tg==
@@ -5249,6 +5249,14 @@ chownr@^2.0.0:
52495249
resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece"
52505250
integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==
52515251

5252+
chromatic@^6.9.0:
5253+
version "6.9.0"
5254+
resolved "https://registry.yarnpkg.com/chromatic/-/chromatic-6.9.0.tgz#6ca326d2157263a7ffa73cde2ca2d0ea9d5cd816"
5255+
integrity sha512-ykfUHLyznZTPi8djKMfrBoOpWinSUfa2HDLmvHgYc2e6Jc4Oqm5jYW9S7l92navSF+EOzov90L7W8rX2NpiBjQ==
5256+
dependencies:
5257+
"@discoveryjs/json-ext" "^0.5.7"
5258+
"@types/webpack-env" "^1.17.0"
5259+
52525260
chrome-trace-event@^1.0.2:
52535261
version "1.0.3"
52545262
resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac"

0 commit comments

Comments
 (0)