| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- {
- "name": "laravel-vite-plugin",
- "version": "0.7.8",
- "description": "Laravel plugin for Vite.",
- "keywords": [
- "laravel",
- "vite",
- "vite-plugin"
- ],
- "homepage": "https://github.com/laravel/vite-plugin",
- "repository": {
- "type": "git",
- "url": "https://github.com/laravel/vite-plugin"
- },
- "license": "MIT",
- "author": "Laravel",
- "exports": {
- ".": {
- "import": "./dist/index.mjs",
- "require": "./dist/index.cjs",
- "types": "./dist/index.d.ts"
- },
- "./inertia-helpers": {
- "import": "./inertia-helpers/index.js",
- "types": "./inertia-helpers/index.d.ts",
- "node": "./inertia-helpers/index.js"
- }
- },
- "types": "./dist/index.d.ts",
- "files": [
- "/dist",
- "/inertia-helpers"
- ],
- "scripts": {
- "build": "npm run build-plugin && npm run build-inertia-helpers",
- "build-plugin": "rm -rf dist && npm run build-plugin-types && npm run build-plugin-esm && npm run build-plugin-cjs && cp src/dev-server-index.html dist/",
- "build-plugin-types": "tsc --emitDeclarationOnly",
- "build-plugin-cjs": "esbuild src/index.ts --platform=node --format=cjs --outfile=dist/index.cjs --define:import.meta.url=import_meta_url --inject:./import.meta.url-polyfill.js",
- "build-plugin-esm": "esbuild src/index.ts --platform=node --format=esm --outfile=dist/index.mjs",
- "build-inertia-helpers": "rm -rf inertia-helpers && tsc --project tsconfig.inertia-helpers.json",
- "lint": "eslint --ext .ts ./src ./tests",
- "test": "vitest run"
- },
- "devDependencies": {
- "@types/node": "^18.11.9",
- "@typescript-eslint/eslint-plugin": "^5.21.0",
- "@typescript-eslint/parser": "^5.21.0",
- "esbuild": "0.16.10",
- "eslint": "^8.14.0",
- "typescript": "^4.6.4",
- "vite": "^4.0.0",
- "vitest": "^0.25.2"
- },
- "peerDependencies": {
- "vite": "^3.0.0 || ^4.0.0"
- },
- "engines": {
- "node": ">=14"
- },
- "dependencies": {
- "picocolors": "^1.0.0",
- "vite-plugin-full-reload": "^1.0.5"
- }
- }
|