|
3 | 3 | "version": "2.0.0", |
4 | 4 | "description": "Web starter package suitable for admin applications.", |
5 | 5 | "main": "index.js", |
| 6 | + "type": "module", |
6 | 7 | "scripts": { |
7 | | - "dev": "cross-env NODE_ENV=development node_modules/.bin/webpack -d --progress --hide-modules", |
8 | | - "watch": "cross-env NODE_ENV=development webpack --watch --mode development --progress", |
9 | | - "prod": "cross-env NODE_ENV=production node_modules/.bin/webpack --mode=production --progress" |
| 8 | + "preview": "php -S 0.0.0.0:8080 -t public", |
| 9 | + "build": "vite build --watch" |
10 | 10 | }, |
11 | 11 | "repository": { |
12 | 12 | "type": "git", |
|
24 | 24 | "homepage": "https://github.com/dotkernel/admin#readme", |
25 | 25 | "dependencies": { |
26 | 26 | "@popperjs/core": "^2.11.8", |
| 27 | + "@rollup/plugin-alias": "^5.1.1", |
27 | 28 | "babel-polyfill": "^6.26.0", |
28 | 29 | "bootstrap": "^5.3.3", |
29 | 30 | "chart.js": "^4.4.3", |
|
32 | 33 | "lodash": "^4.17.21", |
33 | 34 | "moment": "^2.30.1", |
34 | 35 | "perfect-scrollbar": "^1.5.5", |
35 | | - "skycons": "^1.0.0" |
| 36 | + "skycons": "^1.0.0", |
| 37 | + "typescript": "^5.5.4", |
| 38 | + "vite": "^6.3.1", |
| 39 | + "vite-plugin-static-copy": "^2.3.1" |
36 | 40 | }, |
37 | 41 | "devDependencies": { |
38 | | - "@babel/core": "^7.24.7", |
39 | | - "@babel/eslint-parser": "^7.24.7", |
| 42 | + "@babel/core": "^7.27.1", |
| 43 | + "@babel/eslint-parser": "^7.27.1", |
40 | 44 | "@babel/plugin-proposal-class-properties": "^7.18.6", |
41 | 45 | "@babel/plugin-proposal-object-rest-spread": "^7.20.7", |
42 | | - "@babel/plugin-transform-runtime": "^7.24.7", |
43 | | - "@babel/runtime": "^7.24.7", |
44 | | - "babel-core": "^6.26.3", |
45 | | - "babel-loader": "^9.1.3", |
46 | | - "babel-preset-env": "^1.7.0", |
47 | | - "babel-preset-stage-0": "^6.24.1", |
48 | | - "case-sensitive-paths-webpack-plugin": "^2.4.0", |
49 | | - "clean-webpack-plugin": "^4.0.0", |
50 | | - "copy-webpack-plugin": "^12.0.2", |
| 46 | + "@babel/plugin-transform-runtime": "^7.27.1", |
| 47 | + "@babel/runtime": "^7.27.1", |
| 48 | + "@babel/traverse": "^7.27.1", |
51 | 49 | "cross-env": "^7.0.3", |
52 | 50 | "css-loader": "5.2.7", |
53 | | - "css-minimizer-webpack-plugin": "^7.0.0", |
54 | | - "eslint": "^8.56.0", |
| 51 | + "eslint": "^9.26.0", |
55 | 52 | "eslint-config-airbnb-base": "^15.0.0", |
56 | 53 | "eslint-plugin-import": "^2.29.1", |
57 | 54 | "expose-loader": "^5.0.0", |
58 | | - "html-webpack-plugin": "^5.6.0", |
59 | | - "imagemin-webpack-plugin": "^2.4.2", |
| 55 | + "file-loader": "^6.2.0", |
| 56 | + "less": "^4.3.0", |
60 | 57 | "mini-css-extract-plugin": "^2.9.0", |
61 | 58 | "postcss": "^8.4.39", |
62 | 59 | "postcss-loader": "^8.1.1", |
63 | 60 | "postcss-preset-env": "^9.6.0", |
64 | | - "sass": "^1.77.1", |
| 61 | + "sass": "^1.87.0", |
65 | 62 | "sass-loader": "^14.2.1", |
66 | 63 | "shx": "^0.3.4", |
67 | 64 | "style-loader": "^4.0.0", |
68 | 65 | "stylelint": "^16.6.1", |
69 | 66 | "stylelint-config-standard": "^36.0.1", |
70 | | - "webpack": "^5.92.1", |
71 | | - "webpack-cli": "^5.1.4", |
72 | | - "webpack-dashboard": "^3.3.8", |
73 | | - "webpack-dev-server": "^5.0.4", |
74 | | - "file-loader": "^6.2.0" |
| 67 | + "vite-jsconfig-paths": "^2.0.1", |
| 68 | + "vite-plugin-bundle-css": "^0.1.1", |
| 69 | + "vite-plugin-commonjs": "^0.10.4", |
| 70 | + "vite-plugin-css-injected-by-js": "^3.5.2", |
| 71 | + "vite-plugin-minify": "^2.1.0" |
75 | 72 | }, |
76 | 73 | "overrides": { |
77 | | - "graceful-fs": "^4.2.11" |
| 74 | + "graceful-fs": "^4.2.11", |
| 75 | + "rimraf": "^5.0.5" |
78 | 76 | } |
79 | 77 | } |
0 commit comments