@matteodicristofalo/text-animations 2.0.2 → 2.0.3

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.
@@ -0,0 +1,2 @@
1
+ declare const _default: import("eslint/config").Config[];
2
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { StoryObj } from "@storybook/react";
2
+ import type { StoryObj } from "@storybook/react-vite";
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: React.FC<import("../../utils/types").WithoutTag<{
@@ -1,4 +1,4 @@
1
- import type { StoryObj } from "@storybook/react";
1
+ import type { StoryObj } from "@storybook/react-vite";
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: import("react").FC<import("../../utils/types").WithoutTag<{
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vite").UserConfig;
2
+ export default _default;
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "@matteodicristofalo/text-animations",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Lightweight React component library to animate text",
5
5
  "scripts": {
6
+ "lint": "eslint src",
7
+ "test": "vitest --project=storybook",
6
8
  "build": "rimraf dist && rollup -c",
7
9
  "storybook": "storybook dev -p 6006"
8
10
  },
@@ -10,28 +12,39 @@
10
12
  "clsx": "^2.1.1"
11
13
  },
12
14
  "devDependencies": {
13
- "@chromatic-com/storybook": "^3.2.2",
15
+ "@chromatic-com/storybook": "^5.0.0",
16
+ "@eslint/js": "^9.39.2",
14
17
  "@rollup/plugin-node-resolve": "^15.3.0",
15
18
  "@rollup/plugin-typescript": "^12.1.1",
16
- "@storybook/addon-essentials": "^8.4.6",
17
- "@storybook/addon-interactions": "^8.4.6",
18
- "@storybook/addon-onboarding": "^8.4.6",
19
- "@storybook/blocks": "^8.4.6",
20
- "@storybook/react": "^8.4.6",
21
- "@storybook/react-vite": "^8.4.6",
22
- "@storybook/test": "^8.4.6",
19
+ "@storybook/addon-a11y": "^10.2.3",
20
+ "@storybook/addon-docs": "^10.2.3",
21
+ "@storybook/addon-vitest": "^10.2.3",
22
+ "@storybook/react-vite": "^10.2.3",
23
23
  "@types/node": "^20",
24
24
  "@types/react": "^18",
25
25
  "@types/react-dom": "^18",
26
+ "@vitejs/plugin-react": "^5.1.2",
27
+ "@vitest/browser-playwright": "^4.0.18",
28
+ "@vitest/coverage-v8": "^4.0.18",
29
+ "eslint-plugin-jsx-a11y": "^6.10.2",
30
+ "eslint-plugin-react": "^7.37.5",
31
+ "eslint-plugin-storybook": "^10.2.3",
32
+ "eslint": "^9.39.2",
33
+ "globals": "^17.2.0",
34
+ "jiti": "^2.6.1",
35
+ "playwright": "^1.58.1",
26
36
  "rimraf": "^6.0.1",
27
- "rollup": "^4.28.0",
28
37
  "rollup-plugin-peer-deps-external": "^2.2.4",
29
38
  "rollup-plugin-postcss": "^4.0.2",
39
+ "rollup": "^4.28.0",
30
40
  "sass": "^1.81.0",
31
- "storybook": "^8.4.6",
41
+ "storybook": "^10.2.3",
32
42
  "tslib": "^2.8.1",
43
+ "typescript-eslint": "^8.54.0",
33
44
  "typescript": "^5.7.2",
34
- "vite-tsconfig-paths": "^5.1.3"
45
+ "vite-tsconfig-paths": "^5.1.3",
46
+ "vite": "^7.2.4",
47
+ "vitest": "^4.0.18"
35
48
  },
36
49
  "peerDependencies": {
37
50
  "react": "^18.3.1",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes