|
4 | 4 | "private": true,
|
5 | 5 | "dependencies": {
|
6 | 6 | "@formkit/auto-animate": "^0.8.2",
|
7 |
| - "@lottiefiles/dotlottie-react": "^0.13.4", |
| 7 | + "@lottiefiles/dotlottie-react": "^0.13.5", |
8 | 8 | "@pdf-lib/fontkit": "^1.1.1",
|
9 | 9 | "@radix-ui/themes": "^3.1.6",
|
10 | 10 | "@reduxjs/toolkit": "^2.7.0",
|
|
13 | 13 | "date-fns-tz": "^3.2.0",
|
14 | 14 | "file-saver": "^2.0.5",
|
15 | 15 | "i18next": "^23.16.8",
|
16 |
| - "i18next-browser-languagedetector": "^8.0.5", |
| 16 | + "i18next-browser-languagedetector": "^8.1.0", |
17 | 17 | "i18next-http-backend": "^3.0.2",
|
18 | 18 | "jszip": "^3.10.1",
|
19 | 19 | "jwt-decode": "^4.0.0",
|
|
41 | 41 | "react-quill-new": "^3.4.6",
|
42 | 42 | "react-redux": "^9.2.0",
|
43 | 43 | "react-rnd": "^10.5.2",
|
44 |
| - "react-router": "^7.5.2", |
| 44 | + "react-router": "^7.5.3", |
45 | 45 | "react-scripts": "^5.0.1",
|
46 | 46 | "react-scrollbars-custom": "^4.1.1",
|
47 | 47 | "react-select": "^5.10.1",
|
|
57 | 57 | "serve": "^14.2.4",
|
58 | 58 | "styled-components": "^5.3.0",
|
59 | 59 | "web-vitals": "^4.2.4",
|
60 |
| - "ws": "^8.18.1", |
| 60 | + "ws": "^8.18.2", |
61 | 61 | "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
|
62 | 62 | },
|
63 | 63 | "scripts": {
|
| 64 | + "build-template-win": "vite build --config vite.public-template.config.js", |
| 65 | + "build-template": "NODE_OPTIONS=\"--max-old-space-size=8192\" vite build --config vite.public-template.config.js", |
64 | 66 | "build": "npm run version && react-scripts build",
|
65 |
| - "start-dev": "react-scripts start", |
| 67 | + "build-template-watch": "NODE_OPTIONS=\"--max-old-space-size=8192\" vite build --config vite.public-template.config.js --watch", |
| 68 | + "start-dev": "vite", |
| 69 | + "dev": "vite", |
| 70 | + "preview": "vite preview", |
66 | 71 | "start": "serve -s build",
|
67 | 72 | "version": "curl -s https://api.github.com/repos/opensignlabs/opensign/releases/latest | grep '\"tag_name\":' | awk -F '\"' '{print $4}' > ./public/version.txt",
|
68 | 73 | "version-win": "powershell -Command \"Invoke-RestMethod -Uri 'https://api.github.com/repos/opensignlabs/opensign/releases/latest' | Select-Object -ExpandProperty tag_name | Out-File -FilePath ./public/version.txt\"",
|
69 | 74 | "build-win": "npm run version-win && react-scripts build",
|
70 |
| - "test": "react-scripts test", |
71 |
| - "eject": "react-scripts eject", |
| 75 | + "test": "vitest run", |
| 76 | + "test:watch": "vitest", |
72 | 77 | "release": "standard-version",
|
73 | 78 | "commit": "cz"
|
74 | 79 | },
|
|
96 | 101 | }
|
97 | 102 | },
|
98 | 103 | "devDependencies": {
|
99 |
| - "@babel/core": "^7.26.10", |
100 |
| - "@babel/preset-env": "^7.26.9", |
101 |
| - "@babel/preset-react": "^7.26.3", |
102 |
| - "@babel/runtime-corejs2": "^7.27.0", |
| 104 | + "@babel/core": "^7.27.1", |
| 105 | + "@babel/preset-env": "^7.27.1", |
| 106 | + "@babel/preset-react": "^7.27.1", |
| 107 | + "@babel/runtime-corejs2": "^7.27.1", |
| 108 | + "@testing-library/jest-dom": "^6.6.3", |
| 109 | + "@testing-library/react": "^16.3.0", |
| 110 | + "@testing-library/user-event": "^14.6.1", |
| 111 | + "@types/react": "^18.3.21", |
| 112 | + "@vitejs/plugin-react": "^4.4.1", |
| 113 | + "@vitejs/plugin-react-swc": "^3.9.0", |
103 | 114 | "autoprefixer": "^10.4.21",
|
104 | 115 | "babel-loader": "^10.0.0",
|
105 | 116 | "commitizen": "^4.3.1",
|
|
109 | 120 | "dotenv": "^16.5.0",
|
110 | 121 | "dotenv-webpack": "^8.1.0",
|
111 | 122 | "eslint": "^8.57.1",
|
112 |
| - "eslint-plugin-prettier": "^5.2.6", |
| 123 | + "eslint-plugin-prettier": "^5.4.0", |
113 | 124 | "eslint-plugin-react": "^7.37.5",
|
114 | 125 | "lint-staged": "^15.5.1",
|
115 | 126 | "mini-css-extract-plugin": "^2.9.2",
|
116 | 127 | "postcss": "^8.5.3",
|
117 | 128 | "prettier": "^3.5.3",
|
118 | 129 | "pretty-quick": "^4.1.1",
|
| 130 | + "rollup-plugin-node-polyfills": "^0.2.1", |
119 | 131 | "tailwindcss": "^3.4.17",
|
120 | 132 | "terser-webpack-plugin": "^5.3.14",
|
| 133 | + "vite": "^6.3.5", |
| 134 | + "vite-plugin-svgr": "^4.3.0", |
| 135 | + "vite-tsconfig-paths": "^5.1.4", |
| 136 | + "vitest": "^3.1.3", |
121 | 137 | "webpack-cli": "^5.1.4"
|
122 | 138 | },
|
123 | 139 | "overrides": {
|
|
0 commit comments