@omniumretail/component-library 1.2.72 → 1.2.74

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