@omniumretail/component-library 1.2.73 → 1.2.75

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/package.json CHANGED
@@ -1,57 +1,70 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.2.73",
3
+ "version": "1.2.75",
4
4
  "private": false,
5
5
  "main": "dist/component-library.umd.js",
6
+ "module": "dist/component-library.es.js",
6
7
  "types": "dist/index.d.ts",
7
8
  "files": [
8
9
  "dist"
9
10
  ],
10
- "dependencies": {
11
+ "peerDependencies": {
11
12
  "@ant-design/icons": "^4.8.0",
12
- "@hello-pangea/dnd": "^18.0.1",
13
- "@testing-library/react": "^13.0.0",
14
- "@testing-library/user-event": "^13.2.1",
15
- "@types/node": "^18.11.11",
16
- "@types/react": "^18.0.26",
17
- "@types/react-beautiful-dnd": "^13.1.3",
18
- "@types/react-dom": "^18.0.9",
19
13
  "antd": "^5.18.3",
20
- "antd-img-crop": "^4.10.2",
21
- "browser-image-compression": "^2.0.2",
22
- "browserslist": "^4.18.1",
14
+ "dayjs": "^1.11.10",
15
+ "i18next": "^22.4.9",
16
+ "react": "^18.2.0",
17
+ "react-dom": "^18.2.0",
18
+ "react-i18next": "^12.1.4"
19
+ },
20
+ "dependencies": {
23
21
  "camelcase": "^6.2.1",
24
22
  "classnames": "^2.3.2",
25
- "dayjs": "^1.11.10",
26
- "dotenv": "^10.0.0",
27
- "dotenv-expand": "^5.1.0",
28
- "eslint": "^8.3.0",
29
- "eslint-config-react-app": "^7.0.1",
30
- "fs-extra": "^10.0.0",
23
+ "lodash.merge": "^4.6.2"
24
+ },
25
+ "optionalDependencies": {
26
+ "@hello-pangea/dnd": "^18.0.1",
27
+ "antd-img-crop": "^4.10.2",
28
+ "browser-image-compression": "^2.0.2",
31
29
  "html2canvas": "^1.4.1",
32
- "i18next": "^22.4.9",
33
30
  "i18next-browser-languagedetector": "^7.0.1",
34
31
  "i18next-fetch-backend": "^5.0.1",
35
- "identity-obj-proxy": "^3.0.0",
36
- "jest": "^27.4.3",
37
- "jest-resolve": "^27.4.2",
38
- "jest-watch-typeahead": "^1.0.0",
39
32
  "jspdf": "^2.5.2",
40
- "lodash.merge": "^4.6.2",
41
- "postcss": "^8.4.4",
42
- "prompts": "^2.4.2",
43
33
  "rc-tween-one": "^3.0.6",
34
+ "react-easy-crop": "^4.7.4",
35
+ "react-webcam": "^7.1.1",
36
+ "xlsx": "^0.18.5"
37
+ },
38
+ "devDependencies": {
39
+ "@ant-design/icons": "^4.8.0",
40
+ "@storybook/addon-docs": "9.1.2",
41
+ "@storybook/addon-links": "^9.1.2",
42
+ "@storybook/cli": "^9.1.2",
43
+ "@storybook/react-vite": "^9.1.2",
44
+ "@storybook/test": "^9.1.2",
45
+ "@types/lodash.merge": "^4.6.9",
46
+ "@types/node": "^18.11.11",
47
+ "@types/react": "^18.0.26",
48
+ "@types/react-beautiful-dnd": "^13.1.3",
49
+ "@types/react-dom": "^18.0.9",
50
+ "@vitejs/plugin-react": "^5.0.1",
51
+ "antd": "^5.18.3",
52
+ "dayjs": "^1.11.10",
53
+ "i18next": "^22.4.9",
54
+ "prop-types": "^15.8.1",
44
55
  "react": "^18.2.0",
45
- "react-app-polyfill": "^3.0.0",
46
56
  "react-dom": "^18.2.0",
47
- "react-easy-crop": "^4.7.4",
48
57
  "react-i18next": "^12.1.4",
49
- "react-webcam": "^7.1.1",
50
58
  "sass": "^1.56.1",
51
59
  "sass-loader": "^12.3.0",
60
+ "storybook-css-modules": "^1.0.8",
61
+ "terser": "^5.43.1",
62
+ "tsconfig-paths": "^4.2.0",
52
63
  "typescript": "^4.9.3",
53
- "web-vitals": "^2.1.0",
54
- "xlsx": "^0.18.5"
64
+ "vite": "^7.1.3",
65
+ "vite-plugin-css-injected-by-js": "^3.5.2",
66
+ "vite-plugin-dts": "^4.5.4",
67
+ "web-vitals": "^2.1.0"
55
68
  },
56
69
  "scripts": {
57
70
  "prepublish": "rd /s /q .\\dist && yarn build",
@@ -61,7 +74,7 @@
61
74
  "storybook": "storybook dev -p 6006",
62
75
  "build-storybook": "storybook build",
63
76
  "deploy": "aws s3 sync storybook-static/ s3://changeToBucketName",
64
- "analyze": "webpack --json > stats.json && webpack-bundle-analyzer stats.json"
77
+ "analyze": "npx vite-bundle-analyzer"
65
78
  },
66
79
  "browserslist": {
67
80
  "production": [
@@ -74,20 +87,5 @@
74
87
  "last 1 firefox version",
75
88
  "last 1 safari version"
76
89
  ]
77
- },
78
- "devDependencies": {
79
- "@storybook/addon-docs": "9.1.2",
80
- "@storybook/addon-links": "^9.1.2",
81
- "@storybook/cli": "^9.1.2",
82
- "@storybook/react-vite": "^9.1.2",
83
- "@storybook/test": "^8.6.14",
84
- "@types/lodash.merge": "^4.6.9",
85
- "@vitejs/plugin-react": "^5.0.1",
86
- "prop-types": "^15.8.1",
87
- "storybook-css-modules": "^1.0.8",
88
- "tsconfig-paths": "^4.2.0",
89
- "vite": "^7.1.3",
90
- "vite-plugin-css-injected-by-js": "^3.5.2",
91
- "vite-plugin-dts": "^4.5.4"
92
90
  }
93
- }
91
+ }