@vlprojects-chat/chat 0.7.2 → 0.7.99

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,12 +1,12 @@
1
1
  {
2
2
  "name": "@vlprojects-chat/chat",
3
3
  "author": "vlprojects",
4
- "version": "0.7.2",
4
+ "version": "0.7.99",
5
5
  "description": "VLprojects chat",
6
6
  "license": "ISC",
7
+ "main": "dist/index.js",
7
8
  "types": "dist/index.d.ts",
8
- "main": "./dist/index.mjs",
9
- "module": "./dist/index.mjs",
9
+ "module": "dist/index.es.js",
10
10
  "files": [
11
11
  "dist"
12
12
  ],
@@ -15,9 +15,12 @@
15
15
  "url": "git+ssh://git@github.com/VLprojects/chat.git"
16
16
  },
17
17
  "scripts": {
18
- "start": "vite",
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",
19
21
  "lint:js": "eslint ./src --ext .ts,.tsx",
20
- "build": "tsc --noEmit && vite build --mode production"
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"
21
24
  },
22
25
  "browserslist": {
23
26
  "production": [
@@ -79,7 +82,8 @@
79
82
  "@babel/preset-react": "^7.16.7",
80
83
  "@babel/preset-typescript": "^7.16.7",
81
84
  "@babel/runtime": "^7.16.7",
82
- "@types/events": "^3.0.3",
85
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
86
+ "@types/dotenv-webpack": "^7.0.3",
83
87
  "@types/flat": "^5.0.2",
84
88
  "@types/js-cookie": "^2.2.7",
85
89
  "@types/node": "^17.0.10",
@@ -92,30 +96,36 @@
92
96
  "@types/ua-parser-js": "^0.7.36",
93
97
  "@typescript-eslint/eslint-plugin": "^5.10.0",
94
98
  "@typescript-eslint/parser": "^5.10.0",
95
- "@vitejs/plugin-react": "^4.2.1",
96
99
  "autoprefixer": "9.0.0",
97
100
  "babel-loader": "^8.2.3",
98
101
  "cross-env": "^7.0.3",
99
102
  "dotenv": "^14.2.0",
103
+ "dotenv-webpack": "^7.0.3",
100
104
  "eslint-config-airbnb-typescript": "^16.1.0",
101
105
  "eslint-config-prettier": "^8.3.0",
102
106
  "eslint-plugin-import": "^2.25.4",
103
107
  "eslint-plugin-jsx-a11y": "^6.5.1",
104
108
  "eslint-plugin-react": "^7.28.0",
105
109
  "eslint-plugin-react-hooks": "^4.3.0",
110
+ "fork-ts-checker-webpack-plugin": "^6.5.0",
111
+ "html-webpack-plugin": "^5.5.0",
106
112
  "prettier": "^2.5.1",
107
113
  "react": "^17.0.2",
108
114
  "react-dom": "^17.0.2",
109
115
  "react-refresh": "^0.11.0",
110
116
  "source-map-loader": "^3.0.1",
111
117
  "ts-node": "^10.4.0",
118
+ "tsconfig-paths-webpack-plugin": "^3.5.2",
112
119
  "tslib": "^2.3.1",
113
120
  "type-fest": "^2.10.0",
114
121
  "typescript": "^4.5.4",
115
122
  "url-loader": "^4.1.1",
116
- "vite": "^5.1.5",
117
- "vite-plugin-node-polyfills": "^0.21.0",
118
- "vite-tsconfig-paths": "^4.3.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"
119
129
  },
120
130
  "peerDependencies": {
121
131
  "@emotion/react": "^11.x.x",
package/dist/imp.png DELETED
Binary file