-
Notifications
You must be signed in to change notification settings - Fork 151
/
package.json
65 lines (65 loc) · 1.95 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "laravel-vite-plugin",
"version": "1.0.6",
"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",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./inertia-helpers": {
"types": "./inertia-helpers/index.d.ts",
"default": "./inertia-helpers/index.js"
}
},
"types": "./dist/index.d.ts",
"files": [
"/dist",
"/inertia-helpers"
],
"bin": {
"clean-orphaned-assets": "bin/clean.js"
},
"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 && cp src/dev-server-index.html dist/",
"build-plugin-types": "tsc --emitDeclarationOnly",
"build-plugin-esm": "esbuild src/index.ts --platform=node --format=esm --outfile=dist/index.js",
"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": "^5.0.0",
"vitest": "^0.34.4"
},
"peerDependencies": {
"vite": "^5.0.0"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"dependencies": {
"picocolors": "^1.0.0",
"vite-plugin-full-reload": "^1.1.0"
}
}