@mbao01/ui 0.1.41 → 0.1.42

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.
Files changed (1) hide show
  1. package/package.json +14 -6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mbao01/ui",
3
3
  "private": false,
4
- "version": "0.1.41",
4
+ "version": "0.1.42",
5
5
  "type": "module",
6
6
  "author": "Ayomide Bakare",
7
7
  "license": "MIT",
@@ -28,19 +28,23 @@
28
28
  "*.css"
29
29
  ],
30
30
  "scripts": {
31
- "dev": "storybook dev -p 6006",
31
+ "dev": "storybook dev -p 6008",
32
32
  "build": "tsc && vite build",
33
33
  "build-storybook": "storybook build -o ../../docs/storybook/ui",
34
34
  "postbuild-storybook": "cp -R ../../docs/storybook/ui/* ../../docs/storybook/ && rm -rf ../../docs/storybook/ui",
35
35
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
36
36
  "preview": "vite preview",
37
+ "prod": "pnpx http-server ../../docs/storybook --port 6008",
37
38
  "test": "vitest run",
39
+ "test:coverage": "vitest run --coverage",
38
40
  "test:ui": "vitest --ui",
39
- "test:watch": "vitest",
40
- "test:coverage": "vitest run --coverage"
41
+ "test:visual": "test-storybook --url http://127.0.0.1:6008",
42
+ "test:visual:ci": "test-storybook --ci --verbose --url http://127.0.0.1:6008",
43
+ "test:visual:watch": "test-storybook --watch",
44
+ "test:watch": "vitest"
41
45
  },
42
46
  "dependencies": {
43
- "@mbao01/common": "^0.0.40",
47
+ "@mbao01/common": "^0.0.41",
44
48
  "@radix-ui/react-icons": "^1.3.0",
45
49
  "clsx": "^2.1.0"
46
50
  },
@@ -50,13 +54,16 @@
50
54
  "@storybook/addon-links": "^8.0.6",
51
55
  "@storybook/addon-onboarding": "^8.0.6",
52
56
  "@storybook/addon-themes": "^8.0.6",
57
+ "@storybook/addon-viewport": "^8.3.3",
53
58
  "@storybook/blocks": "^8.0.6",
54
59
  "@storybook/react": "^8.0.6",
55
60
  "@storybook/react-vite": "^8.0.6",
56
61
  "@storybook/test": "^8.0.6",
62
+ "@storybook/test-runner": "^0.19.1",
57
63
  "@testing-library/jest-dom": "^6.4.2",
58
64
  "@testing-library/react": "^14.2.1",
59
65
  "@testing-library/user-event": "^14.5.2",
66
+ "@types/jest-image-snapshot": "^6.4.0",
60
67
  "@types/node": "^20.11.17",
61
68
  "@types/react": "^18.2.55",
62
69
  "@types/react-dom": "^18.2.19",
@@ -70,6 +77,7 @@
70
77
  "eslint-plugin-react-hooks": "^4.6.0",
71
78
  "eslint-plugin-react-refresh": "^0.4.5",
72
79
  "eslint-plugin-storybook": "^0.8.0",
80
+ "jest-image-snapshot": "^6.4.0",
73
81
  "jsdom": "^23.2.0",
74
82
  "path": "^0.12.7",
75
83
  "postcss": "^8.4.35",
@@ -87,5 +95,5 @@
87
95
  "peerDependencies": {
88
96
  "react-router-dom": "^6.22.0"
89
97
  },
90
- "gitHead": "30ae293d3e5c2ece6709f280ecf5f75ec5712ab2"
98
+ "gitHead": "90d74b3c06abe95709a7e4e4a4e545322562e02d"
91
99
  }