You've already forked Atomcms-edit
943d5bfc38
- Install inertia-laravel, @inertiajs/react, react, @vitejs/plugin-react - Add HandleInertiaRequests middleware registered in web group - Create Inertia root template (resources/views/app.blade.php) - Add React entry point and page components (resources/js/) - Add Inertia demo route (/inertia-test) - HomeController reverted to Blade (index page stays original) - Remove inertia-test2 test route
64 lines
2.3 KiB
JSON
Executable File
64 lines
2.3 KiB
JSON
Executable File
{
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"dev:atom": "vite --config resources/themes/atom/vite.config.js",
|
|
"build": "vite build",
|
|
"build:atom": "vite build --config resources/themes/atom/vite.config.js",
|
|
"build:dusk": "vite build --config resources/themes/dusk/vite.config.js",
|
|
"build:all": "vite build --config resources/themes/atom/vite.config.js && vite build --config resources/themes/dusk/vite.config.js",
|
|
"preview": "vite preview",
|
|
"format": "prettier \"resources/**/*.{js,ts,vue,blade}\" --ignore-unknown --write",
|
|
"format:check": "prettier \"resources/**/*.{js,ts,vue,blade.php}\" --check",
|
|
"lint": "eslint resources/js/",
|
|
"lint:fix": "eslint resources/js/ --fix",
|
|
"lint:css": "stylelint \"resources/**/*.css\"",
|
|
"lint:css:fix": "stylelint \"resources/**/*.css\" --fix",
|
|
"lint:all": "yarn lint && yarn lint:css",
|
|
"lint:fix:all": "yarn lint:fix && yarn lint:fix:css",
|
|
"check": "yarn lint:all && yarn format:check",
|
|
"check:php": "php -l app/ && php -l routes/ && php -l database/ && php -l resources/",
|
|
"check:security": "composer audit && npm audit",
|
|
"check:deps": "npm outdated --long --json || true",
|
|
"clean": "rm -rf .vite-cache node_modules/.vite",
|
|
"rebuild": "yarn clean && yarn install && yarn build"
|
|
},
|
|
"devDependencies": {
|
|
"@alpinejs/focus": "3.15.9",
|
|
"@popperjs/core": "2.11.8",
|
|
"@prettier/plugin-php": "0.25.0",
|
|
"@shufo/prettier-plugin-blade": "1.16.2",
|
|
"@swc/core": "^1.15.21",
|
|
"@tailwindcss/forms": "0.5.11",
|
|
"@tailwindcss/postcss": "4.2.2",
|
|
"@tailwindcss/typography": "0.5.19",
|
|
"alpinejs": "3.15.9",
|
|
"autoprefixer": "10.4.20",
|
|
"axios": "^1.16.1",
|
|
"esbuild": "^0.27.7",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-vue": "9.32.0",
|
|
"laravel-vite-plugin": "^3.0.1",
|
|
"lodash": "^4.18.1",
|
|
"postcss": "8.5.8",
|
|
"postcss-import": "16.1.0",
|
|
"prettier": "3.8.1",
|
|
"sass-loader": "16.0.4",
|
|
"stylelint": "^17.6.0",
|
|
"stylelint-config-standard": "^40.0.0",
|
|
"tailwindcss": "4.2.2",
|
|
"turbolinks": "5.2.0",
|
|
"vite": "^8.0.3"
|
|
},
|
|
"dependencies": {
|
|
"@inertiajs/react": "^3.2.0",
|
|
"@vitejs/plugin-react": "^6.0.2",
|
|
"flowbite": "2.5.2",
|
|
"react": "^19.2.6",
|
|
"react-dom": "^19.2.6",
|
|
"sass": "1.83.4",
|
|
"swiper": "^12.1.3"
|
|
}
|
|
}
|