hostinger-reach
Last commit date
frontend
8 months ago
languages
9 months ago
src
8 months ago
templates
8 months ago
vendor
8 months ago
changelog.txt
8 months ago
composer.json
9 months ago
hostinger-reach.php
8 months ago
package.json
8 months ago
readme.txt
8 months ago
package.json
98 lines
| 1 | { |
| 2 | "name": "hostinger-reach", |
| 3 | "private": true, |
| 4 | "description": "Hostinger Reach", |
| 5 | "scripts": { |
| 6 | "auth:gcp": "gcloud auth application-default login", |
| 7 | "auth:gca": "npx google-artifactregistry-auth", |
| 8 | "dev:vue-frontend": "webpack --config webpack.config.js --env target=assets --mode development --watch", |
| 9 | "dev:blocks": "webpack --config webpack.config.js --env target=subscription --mode development --watch", |
| 10 | "build:vue-frontend": "webpack --config webpack.config.js --env target=assets --mode production", |
| 11 | "build:blocks": "webpack --config webpack.config.js --env target=subscription --mode production", |
| 12 | "build:all": "npm run build:vue-frontend && npm run build:blocks", |
| 13 | "prepare": "husky", |
| 14 | "lint:php": "vendor/bin/phpcs", |
| 15 | "lint:php:fix": "vendor/bin/phpcbf", |
| 16 | "lint:frontend": "cd frontend/vue && eslint .", |
| 17 | "lint:frontend:fix": "cd frontend/vue && eslint . --fix", |
| 18 | "lint:all": "npm run lint:php && npm run lint:frontend", |
| 19 | "test:vue": "vitest --run", |
| 20 | "test:vue:watch": "vitest --watch", |
| 21 | "test:vue:ui": "vitest --ui", |
| 22 | "test:coverage": "vitest --run --coverage" |
| 23 | }, |
| 24 | "lint-staged": { |
| 25 | "*.php": [ |
| 26 | "npm run lint:php" |
| 27 | ], |
| 28 | "frontend/vue/**/*.{ts,vue}": [ |
| 29 | "npm run lint:frontend" |
| 30 | ] |
| 31 | }, |
| 32 | "devDependencies": { |
| 33 | "@eslint/js": "^9.32.0", |
| 34 | "@rushstack/eslint-patch": "^1.12.0", |
| 35 | "@typescript-eslint/eslint-plugin": "^8.38.0", |
| 36 | "@typescript-eslint/parser": "^8.38.0", |
| 37 | "@vitejs/plugin-vue": "^5.2.1", |
| 38 | "@vitest/coverage-v8": "^2.1.9", |
| 39 | "@vue/eslint-config-prettier": "^10.1.0", |
| 40 | "@vue/eslint-config-typescript": "^14.1.3", |
| 41 | "@vue/test-utils": "^2.4.6", |
| 42 | "@wordpress/babel-preset-default": "^8.26.0", |
| 43 | "@wordpress/scripts": "^30.19.0", |
| 44 | "css-minimizer-webpack-plugin": "^5.0.1", |
| 45 | "eslint": "^9.32.0", |
| 46 | "eslint-config-prettier": "^10.1.5", |
| 47 | "eslint-plugin-import": "^2.32.0", |
| 48 | "eslint-plugin-modules-newlines": "^0.0.7", |
| 49 | "eslint-plugin-prettier": "^5.5.1", |
| 50 | "eslint-plugin-simple-import-sort": "^12.1.1", |
| 51 | "eslint-plugin-unused-imports": "^4.1.4", |
| 52 | "eslint-plugin-vue": "^10.2.0", |
| 53 | "husky": "^9.1.7", |
| 54 | "jsdom": "^25.0.1", |
| 55 | "lint-staged": "^16.1.2", |
| 56 | "mini-css-extract-plugin": "^2.9.2", |
| 57 | "prettier": "^3.6.2", |
| 58 | "sass": "^1.89.2", |
| 59 | "sass-loader": "^16.0.5", |
| 60 | "terser-webpack-plugin": "^5.3.14", |
| 61 | "ts-loader": "^9.5.2", |
| 62 | "tsx": "^4.20.3", |
| 63 | "typescript": "^5.8.3", |
| 64 | "typescript-eslint": "^8.38.0", |
| 65 | "vite": "^6.0.1", |
| 66 | "vitest": "^2.1.8", |
| 67 | "vue": "^3.5.17", |
| 68 | "vue-eslint-parser": "^10.1.4", |
| 69 | "vue-loader": "^16.8.3", |
| 70 | "webpack": "^5.99.9", |
| 71 | "webpack-cli": "^6.0.1" |
| 72 | }, |
| 73 | "engines": { |
| 74 | "node": ">=20.17.0", |
| 75 | "npm": ">=9.0.0" |
| 76 | }, |
| 77 | "browserslist": [ |
| 78 | "last 2 versions" |
| 79 | ], |
| 80 | "babel": { |
| 81 | "presets": [ |
| 82 | "@babel/preset-env" |
| 83 | ] |
| 84 | }, |
| 85 | "dependencies": { |
| 86 | "@hostinger/hcomponents": "^10.5.8", |
| 87 | "@wordpress/api-fetch": "^7.26.0", |
| 88 | "@wordpress/block-editor": "^14.21.0", |
| 89 | "@wordpress/blocks": "^14.15.0", |
| 90 | "@wordpress/components": "^29.12.0", |
| 91 | "@wordpress/server-side-render": "^6.4.0", |
| 92 | "html-entities": "^2.6.0", |
| 93 | "pinia": "^2.2.6", |
| 94 | "pinia-plugin-persistedstate": "^3.2.1", |
| 95 | "vue-router": "^4.5.1" |
| 96 | } |
| 97 | } |
| 98 |