@2uinc/frontend-component-xpert-chatbot 1.3.24 → 1.3.25

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 (2) hide show
  1. package/dist/lib/index.min.js +4213 -3733
  2. package/package.json +15 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2uinc/frontend-component-xpert-chatbot",
3
- "version": "1.3.24",
3
+ "version": "1.3.25",
4
4
  "homepage": "/app/plugins/xpert-chatbot/frontend/build/",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,7 +25,8 @@
25
25
  "lint": "eslint . --ext js,jsx",
26
26
  "lint:fix": "eslint . --ext js,jsx --fix",
27
27
  "preview": "vite preview",
28
- "commit": "git cz"
28
+ "commit": "git cz",
29
+ "prepare": "husky"
29
30
  },
30
31
  "eslintConfig": {
31
32
  "extends": [
@@ -50,6 +51,8 @@
50
51
  "react-dom": "^17.0.2"
51
52
  },
52
53
  "devDependencies": {
54
+ "@commitlint/cli": "^18.6.1",
55
+ "@commitlint/config-conventional": "^18.6.2",
53
56
  "@fullhuman/postcss-purgecss": "^5.0.0",
54
57
  "@iconify/react": "^4.1.1",
55
58
  "@semantic-release/exec": "^6.0.3",
@@ -63,6 +66,7 @@
63
66
  "@vitejs/plugin-react": "^4.1.0",
64
67
  "@vitest/coverage-istanbul": "^0.34.6",
65
68
  "@vitest/ui": "^0.34.6",
69
+ "commitlint-plugin-function-rules": "^3.1.0",
66
70
  "cz-conventional-changelog": "^3.3.0",
67
71
  "eslint": "^8.47.0",
68
72
  "eslint-config-prettier": "^9.1.0",
@@ -72,7 +76,9 @@
72
76
  "eslint-plugin-react-hooks": "^4.6.0",
73
77
  "eslint-plugin-react-refresh": "^0.4.3",
74
78
  "eslint-plugin-vitest-globals": "^1.4.0",
79
+ "husky": "^9.0.11",
75
80
  "jsdom": "^22.1.0",
81
+ "lint-staged": "^15.2.2",
76
82
  "msw": "^2.1.7",
77
83
  "prettier": "3.1.1",
78
84
  "prop-types": "^15.8.1",
@@ -86,6 +92,7 @@
86
92
  "classnames": "^2.3.2",
87
93
  "focus-trap-react": "^10.2.1",
88
94
  "js-cookie": "^3.0.5",
95
+ "lodash.merge": "^4.6.2",
89
96
  "react-markdown": "^8.0.7"
90
97
  },
91
98
  "release": {
@@ -123,5 +130,11 @@
123
130
  "commitizen": {
124
131
  "path": "./node_modules/cz-conventional-changelog"
125
132
  }
133
+ },
134
+ "lint-staged": {
135
+ "*.{js,jsx}": [
136
+ "npm run lint",
137
+ "npx vitest related --run"
138
+ ]
126
139
  }
127
140
  }