@vlprojects-chat/chat 0.8.12 → 0.9.0

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.8.12",
4
+ "version": "0.9.0",
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": [
@@ -85,6 +82,7 @@
85
82
  "@babel/preset-react": "^7.16.7",
86
83
  "@babel/preset-typescript": "^7.16.7",
87
84
  "@babel/runtime": "^7.16.7",
85
+ "@types/events": "^3.0.3",
88
86
  "@emotion/babel-plugin": "^11.11.0",
89
87
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
90
88
  "@types/dotenv-webpack": "^7.0.3",
@@ -101,36 +99,30 @@
101
99
  "@types/uuid": "^9.0.8",
102
100
  "@typescript-eslint/eslint-plugin": "^5.10.0",
103
101
  "@typescript-eslint/parser": "^5.10.0",
102
+ "@vitejs/plugin-react": "^4.2.1",
104
103
  "autoprefixer": "9.0.0",
105
104
  "babel-loader": "^8.2.3",
106
105
  "cross-env": "^7.0.3",
107
106
  "dotenv": "^14.2.0",
108
- "dotenv-webpack": "^7.0.3",
109
107
  "eslint-config-airbnb-typescript": "^16.1.0",
110
108
  "eslint-config-prettier": "^8.3.0",
111
109
  "eslint-plugin-import": "^2.25.4",
112
110
  "eslint-plugin-jsx-a11y": "^6.5.1",
113
111
  "eslint-plugin-react": "^7.28.0",
114
112
  "eslint-plugin-react-hooks": "^4.3.0",
115
- "fork-ts-checker-webpack-plugin": "^6.5.0",
116
- "html-webpack-plugin": "^5.5.0",
117
113
  "prettier": "^2.5.1",
118
114
  "react": "^17.0.2",
119
115
  "react-dom": "^17.0.2",
120
116
  "react-refresh": "^0.11.0",
121
117
  "source-map-loader": "^3.0.1",
122
118
  "ts-node": "^10.4.0",
123
- "tsconfig-paths-webpack-plugin": "^3.5.2",
124
119
  "tslib": "^2.3.1",
125
120
  "type-fest": "^2.10.0",
126
121
  "typescript": "^4.5.4",
127
122
  "url-loader": "^4.1.1",
128
- "webpack": "^5.67.0",
129
- "webpack-bundle-analyzer": "^4.5.0",
130
- "webpack-cli": "^4.9.2",
131
- "webpack-dev-server": "^4.7.3",
132
- "webpack-merge": "^5.8.0",
133
- "webpack-node-externals": "^3.0.0"
123
+ "vite": "^5.1.5",
124
+ "vite-plugin-node-polyfills": "^0.21.0",
125
+ "vite-tsconfig-paths": "^4.3.1"
134
126
  },
135
127
  "peerDependencies": {
136
128
  "@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>