@vlprojects-chat/chat 0.6.57 → 0.7.2

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,3 @@
1
+ # https://www.robotstxt.org/robotstxt.html
2
+ User-agent: *
3
+ Disallow:
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@vlprojects-chat/chat",
3
3
  "author": "vlprojects",
4
- "version": "0.6.57",
4
+ "version": "0.7.2",
5
5
  "description": "VLprojects chat",
6
6
  "license": "ISC",
7
- "main": "dist/index.js",
8
7
  "types": "dist/index.d.ts",
9
- "module": "dist/index.es.js",
8
+ "main": "./dist/index.mjs",
9
+ "module": "./dist/index.mjs",
10
10
  "files": [
11
11
  "dist"
12
12
  ],
@@ -15,12 +15,9 @@
15
15
  "url": "git+ssh://git@github.com/VLprojects/chat.git"
16
16
  },
17
17
  "scripts": {
18
- "start": "webpack serve --mode development --config webpack/webpack.config.ts --env target=development",
19
- "build": "rm -rf dist && webpack --mode production --config webpack/webpack.config.ts --env target=production",
20
- "build:stage": "rm -rf dist && webpack --mode production --config webpack/webpack.config.ts --env target=stage",
18
+ "start": "vite",
21
19
  "lint:js": "eslint ./src --ext .ts,.tsx",
22
- "client:build:prod:stats": "webpack --mode production --config webpack/webpack.config.ts --env test --profile --json > build/stats.json",
23
- "webpack-bundle-analyzer": "webpack-bundle-analyzer build/stats.json"
20
+ "build": "tsc --noEmit && vite build --mode production"
24
21
  },
25
22
  "browserslist": {
26
23
  "production": [
@@ -82,8 +79,7 @@
82
79
  "@babel/preset-react": "^7.16.7",
83
80
  "@babel/preset-typescript": "^7.16.7",
84
81
  "@babel/runtime": "^7.16.7",
85
- "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
86
- "@types/dotenv-webpack": "^7.0.3",
82
+ "@types/events": "^3.0.3",
87
83
  "@types/flat": "^5.0.2",
88
84
  "@types/js-cookie": "^2.2.7",
89
85
  "@types/node": "^17.0.10",
@@ -96,36 +92,30 @@
96
92
  "@types/ua-parser-js": "^0.7.36",
97
93
  "@typescript-eslint/eslint-plugin": "^5.10.0",
98
94
  "@typescript-eslint/parser": "^5.10.0",
95
+ "@vitejs/plugin-react": "^4.2.1",
99
96
  "autoprefixer": "9.0.0",
100
97
  "babel-loader": "^8.2.3",
101
98
  "cross-env": "^7.0.3",
102
99
  "dotenv": "^14.2.0",
103
- "dotenv-webpack": "^7.0.3",
104
100
  "eslint-config-airbnb-typescript": "^16.1.0",
105
101
  "eslint-config-prettier": "^8.3.0",
106
102
  "eslint-plugin-import": "^2.25.4",
107
103
  "eslint-plugin-jsx-a11y": "^6.5.1",
108
104
  "eslint-plugin-react": "^7.28.0",
109
105
  "eslint-plugin-react-hooks": "^4.3.0",
110
- "fork-ts-checker-webpack-plugin": "^6.5.0",
111
- "html-webpack-plugin": "^5.5.0",
112
106
  "prettier": "^2.5.1",
113
107
  "react": "^17.0.2",
114
108
  "react-dom": "^17.0.2",
115
109
  "react-refresh": "^0.11.0",
116
110
  "source-map-loader": "^3.0.1",
117
111
  "ts-node": "^10.4.0",
118
- "tsconfig-paths-webpack-plugin": "^3.5.2",
119
112
  "tslib": "^2.3.1",
120
113
  "type-fest": "^2.10.0",
121
114
  "typescript": "^4.5.4",
122
115
  "url-loader": "^4.1.1",
123
- "webpack": "^5.67.0",
124
- "webpack-bundle-analyzer": "^4.5.0",
125
- "webpack-cli": "^4.9.2",
126
- "webpack-dev-server": "^4.7.3",
127
- "webpack-merge": "^5.8.0",
128
- "webpack-node-externals": "^3.0.0"
116
+ "vite": "^5.1.5",
117
+ "vite-plugin-node-polyfills": "^0.21.0",
118
+ "vite-tsconfig-paths": "^4.3.1"
129
119
  },
130
120
  "peerDependencies": {
131
121
  "@emotion/react": "^11.x.x",
package/dist/index.html DELETED
@@ -1 +0,0 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="imp.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Chat</title><script defer="defer" src="index.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="livedigital-chat" style="height: 800px; width: 360px; margin: auto"></div></body></html>