| 1 |
{ |
| 2 |
"name": "hostinger", |
| 3 |
"private": true, |
| 4 |
"main": "webpack.mix.js", |
| 5 |
"scripts": { |
| 6 |
"auth:gcp": "gcloud auth application-default login", |
| 7 |
"auth:gca": "npx google-artifactregistry-auth", |
| 8 |
"dev": "npm run development", |
| 9 |
"development": "npm run sync:cursor-skills && cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --config=node_modules/laravel-mix/setup/webpack.config.js", |
| 10 |
"prod": "npm run production", |
| 11 |
"watch": "npm run development -- --watch", |
| 12 |
"production": "npm run sync:cursor-skills && cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --config=node_modules/laravel-mix/setup/webpack.config.js", |
| 13 |
"dev:vue-frontend": "npm run sync:cursor-skills && webpack --mode development --watch", |
| 14 |
"build:vue-frontend": "npm run sync:cursor-skills && webpack --mode production", |
| 15 |
"prepare": "npm run sync:cursor-skills && 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", |
| 19 |
"test:vue": "vitest --run", |
| 20 |
"test:vue:watch": "vitest --watch", |
| 21 |
"test:vue:ui": "vitest --ui", |
| 22 |
"test:coverage": "vitest --run --coverage", |
| 23 |
"sync:cursor-skills": "npx @hostinger/wp-plugin-toolkit sync-cursor-skills" |
| 24 |
}, |
| 25 |
"lint-staged": { |
| 26 |
"*.php": [ |
| 27 |
"npm run lint:php" |
| 28 |
], |
| 29 |
"vue-frontend/src/**/*.{ts,vue,js}": [ |
| 30 |
"npm run lint:frontend" |
| 31 |
] |
| 32 |
}, |
| 33 |
"devDependencies": { |
| 34 |
"@babel/core": "^7.23.6", |
| 35 |
"@babel/preset-env": "^7.23.6", |
| 36 |
"@eslint/js": "^9.32.0", |
| 37 |
"@hostinger/wp-plugin-toolkit": "^1.1.0", |
| 38 |
"@rushstack/eslint-patch": "^1.12.0", |
| 39 |
"@types/lodash": "^4.17.20", |
| 40 |
"@types/node": "^24.4.0", |
| 41 |
"@typescript-eslint/eslint-plugin": "^8.38.0", |
| 42 |
"@typescript-eslint/parser": "^8.38.0", |
| 43 |
"@vitest/coverage-v8": "^4.0.9", |
| 44 |
"@vue/eslint-config-typescript": "^14.1.3", |
| 45 |
"@vue/test-utils": "^2.4.6", |
| 46 |
"babel-loader": "^10.0.0", |
| 47 |
"cross-env": "^10.0.0", |
| 48 |
"css-loader": "^6.8.1", |
| 49 |
"css-minimizer-webpack-plugin": "^5.0.1", |
| 50 |
"eslint": "^9.32.0", |
| 51 |
"eslint-plugin-import": "^2.32.0", |
| 52 |
"eslint-plugin-modules-newlines": "^0.0.7", |
| 53 |
"eslint-plugin-simple-import-sort": "^12.1.1", |
| 54 |
"eslint-plugin-unused-imports": "^4.1.4", |
| 55 |
"eslint-plugin-vue": "^10.2.0", |
| 56 |
"husky": "^9.1.7", |
| 57 |
"jsdom": "^25.0.1", |
| 58 |
"laravel-mix": "^6.0.49", |
| 59 |
"lint-staged": "^16.1.2", |
| 60 |
"lodash": "^4.17.23", |
| 61 |
"mini-css-extract-plugin": "^2.9.2", |
| 62 |
"null-loader": "^4.0.1", |
| 63 |
"resolve-url-loader": "^5.0.0", |
| 64 |
"sass": "^1.89.2", |
| 65 |
"sass-loader": "^16.0.5", |
| 66 |
"style-loader": "^3.3.4", |
| 67 |
"terser": "^5.26.0", |
| 68 |
"terser-webpack-plugin": "^5.3.14", |
| 69 |
"ts-loader": "^9.5.2", |
| 70 |
"typescript": "^5.8.3", |
| 71 |
"typescript-eslint": "^8.38.0", |
| 72 |
"video.js": "^8.10.0", |
| 73 |
"vite": "^6.0.1", |
| 74 |
"vitest": "^4.0.9", |
| 75 |
"vue": "^3.5.17", |
| 76 |
"vue-eslint-parser": "^10.1.4", |
| 77 |
"vue-loader": "^16.8.3", |
| 78 |
"vue-style-loader": "^4.1.3", |
| 79 |
"webpack": "^5.105.4", |
| 80 |
"webpack-cli": "^6.0.1" |
| 81 |
}, |
| 82 |
"dependencies": { |
| 83 |
"@vitejs/plugin-vue": "^5.2.4", |
| 84 |
"@vue/tsconfig": "^0.4.0", |
| 85 |
"@vueuse/core": "^10.7.0", |
| 86 |
"axios": "^1.12.0", |
| 87 |
"bootstrap-scss": "^5.3.3", |
| 88 |
"pinia": "^2.2.6", |
| 89 |
"pinia-plugin-persistedstate": "^3.2.1", |
| 90 |
"survey-core": "^1.12.53", |
| 91 |
"survey-jquery": "^1.12.53", |
| 92 |
"survey-knockout-ui": "^1.12.53", |
| 93 |
"videojs-youtube": "^3.0.1", |
| 94 |
"vue-router": "^4.2.5", |
| 95 |
"vue3-slide-up-down": "^2.1.0", |
| 96 |
"vue3-toastify": "^0.2.1" |
| 97 |
}, |
| 98 |
"browserslist": [ |
| 99 |
"last 2 versions" |
| 100 |
], |
| 101 |
"babel": { |
| 102 |
"presets": [ |
| 103 |
"@babel/preset-env" |
| 104 |
] |
| 105 |
}, |
| 106 |
"overrides": { |
| 107 |
"qs": "^6.14.1", |
| 108 |
"babel-loader": "^10.0.0", |
| 109 |
"webpack-dev-server": "^5.2.1" |
| 110 |
} |
| 111 |
} |
| 112 |
|