| @@ -1,28 +1,98 @@ | ||
| 1 | 1 | { |
| 2 | + "name": "hostinger", | |
| 3 | + "private": true, | |
| 2 | 4 | "main": "webpack.mix.js", |
| 3 | 5 | "scripts": { |
| 6 | + "auth:gcp": "gcloud auth application-default login", | |
| 7 | + "auth:gca": "npx google-artifactregistry-auth", | |
| 4 | 8 | "dev": "npm run development", |
| 5 | 9 | "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --config=node_modules/laravel-mix/setup/webpack.config.js", |
| 6 | 10 | "prod": "npm run production", |
| 7 | 11 | "watch": "npm run development -- --watch", |
| 8 | - "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --config=node_modules/laravel-mix/setup/webpack.config.js" | |
| 12 | + "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --config=node_modules/laravel-mix/setup/webpack.config.js", | |
| 13 | + "dev:vue-frontend": "webpack --mode development --watch", | |
| 14 | + "build:vue-frontend": "webpack --mode production", | |
| 15 | + "prepare": "husky", | |
| 16 | + "lint:php": "vendor/bin/phpcs", | |
| 17 | + "lint:frontend": "eslint vue-frontend/src --config vue-frontend/src/eslint.config.mjs", | |
| 18 | + "lint:frontend:fix": "eslint vue-frontend/src --config vue-frontend/src/eslint.config.mjs --fix" | |
| 9 | 19 | }, |
| 20 | + "lint-staged": { | |
| 21 | + "*.php": [ | |
| 22 | + "npm run lint:php" | |
| 23 | + ], | |
| 24 | + "vue-frontend/src/**/*.{ts,vue,js}": [ | |
| 25 | + "npm run lint:frontend" | |
| 26 | + ] | |
| 27 | + }, | |
| 10 | 28 | "devDependencies": { |
| 29 | + "@babel/core": "^7.23.6", | |
| 30 | + "@babel/preset-env": "^7.23.6", | |
| 31 | + "@eslint/js": "^9.32.0", | |
| 32 | + "@rushstack/eslint-patch": "^1.12.0", | |
| 33 | + "@types/lodash": "^4.17.20", | |
| 34 | + "@types/node": "^20.10.5", | |
| 35 | + "@typescript-eslint/eslint-plugin": "^8.38.0", | |
| 36 | + "@typescript-eslint/parser": "^8.38.0", | |
| 37 | + "@vue/eslint-config-typescript": "^14.1.3", | |
| 38 | + "babel-loader": "^9.1.3", | |
| 11 | 39 | "cross-env": "^7.0.3", |
| 12 | - "css-loader": "^6.7.3", | |
| 40 | + "css-loader": "^6.8.1", | |
| 41 | + "css-minimizer-webpack-plugin": "^5.0.1", | |
| 42 | + "eslint": "^9.32.0", | |
| 43 | + "eslint-plugin-import": "^2.32.0", | |
| 44 | + "eslint-plugin-modules-newlines": "^0.0.7", | |
| 45 | + "eslint-plugin-simple-import-sort": "^12.1.1", | |
| 46 | + "eslint-plugin-unused-imports": "^4.1.4", | |
| 47 | + "eslint-plugin-vue": "^10.2.0", | |
| 48 | + "husky": "^9.1.7", | |
| 13 | 49 | "laravel-mix": "^6.0.49", |
| 14 | - "node-sass": "^8.0.0", | |
| 50 | + "lint-staged": "^16.1.2", | |
| 51 | + "lodash": "^4.17.21", | |
| 52 | + "mini-css-extract-plugin": "^2.9.2", | |
| 53 | + "null-loader": "^4.0.1", | |
| 15 | 54 | "resolve-url-loader": "^5.0.0", |
| 16 | - "sass": "^1.59.3", | |
| 17 | - "sass-loader": "^13.2.0", | |
| 18 | - "style-loader": "^3.3.2", | |
| 19 | - "video.js": "^8.5.2", | |
| 20 | - "webpack": "^5.76.2", | |
| 21 | - "webpack-cli": "^5.0.1" | |
| 55 | + "sass": "^1.89.2", | |
| 56 | + "sass-loader": "^16.0.5", | |
| 57 | + "style-loader": "^3.3.4", | |
| 58 | + "terser": "^5.26.0", | |
| 59 | + "terser-webpack-plugin": "^5.3.14", | |
| 60 | + "ts-loader": "^9.5.2", | |
| 61 | + "typescript": "^5.8.3", | |
| 62 | + "typescript-eslint": "^8.38.0", | |
| 63 | + "video.js": "^8.10.0", | |
| 64 | + "vue": "^3.5.17", | |
| 65 | + "vue-eslint-parser": "^10.1.4", | |
| 66 | + "vue-loader": "^16.8.3", | |
| 67 | + "vue-style-loader": "^4.1.3", | |
| 68 | + "webpack": "^5.99.9", | |
| 69 | + "webpack-cli": "^6.0.1" | |
| 22 | 70 | }, |
| 23 | 71 | "dependencies": { |
| 72 | + "@vue/tsconfig": "^0.4.0", | |
| 73 | + "@vueuse/core": "^10.7.0", | |
| 74 | + "axios": "^1.7.7", | |
| 75 | + "bootstrap-scss": "^5.3.3", | |
| 76 | + "pinia": "^2.2.6", | |
| 77 | + "pinia-plugin-persistedstate": "^3.2.1", | |
| 24 | 78 | "survey-core": "^1.9.104", |
| 25 | 79 | "survey-jquery": "^1.9.104", |
| 26 | - "videojs-youtube": "^3.0.1" | |
| 80 | + "survey-knockout-ui": "^1.9.104", | |
| 81 | + "videojs-youtube": "^3.0.1", | |
| 82 | + "vue-router": "^4.2.5", | |
| 83 | + "vue3-toastify": "^0.2.1" | |
| 84 | + }, | |
| 85 | + "browserslist": [ | |
| 86 | + "last 2 versions" | |
| 87 | + ], | |
| 88 | + "babel": { | |
| 89 | + "presets": [ | |
| 90 | + "@babel/preset-env" | |
| 91 | + ] | |
| 92 | + }, | |
| 93 | + "overrides": { | |
| 94 | + "postcss": "^8.4.31", | |
| 95 | + "@babel/runtime": "^7.26.10", | |
| 96 | + "webpack-dev-server": "^5.2.1" | |
| 27 | 97 | } |
| 28 | 98 | } |