forked from laravel/vite-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.14 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
66
67
{
"name": "@leafphp/vite-plugin",
"version": "0.1.3",
"description": "Leaf plugin for Vite.",
"type": "module",
"keywords": [
"leafphp",
"vite",
"vite-plugin"
],
"homepage": "https://github.com/leafsphp/vite-plugin",
"repository": {
"type": "git",
"url": "https://github.com/leafsphp/vite-plugin"
},
"license": "MIT",
"author": "Michael Darko-Duodu <[email protected]>",
"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"
],
"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",
"release": "rm -rf node_modules package-lock.json && npm install && npm run build && npm publish"
},
"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": "^6.0.0",
"vitest": "^0.34.4"
},
"peerDependencies": {
"vite": "^5.0.0 || ^6.0.0"
},
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
},
"dependencies": {
"picocolors": "^1.0.0",
"vite-plugin-full-reload": "^1.1.0"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/leafsphp"
}
}