-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
57 lines (57 loc) · 1.85 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
{
"name": "litestar-vite-plugin",
"version": "0.12.0",
"type": "module",
"description": "Litestar plugin for Vite.",
"keywords": ["litestar", "vite", "vite-plugin"],
"homepage": "https://github.com/litestar-org/litestar-vite",
"repository": {
"type": "git",
"url": "git+https://github.com/litestar-org/litestar-vite.git"
},
"license": "MIT",
"author": "Litestar",
"exports": {
".": {
"types": "./dist/js/index.d.ts",
"default": "./dist/js/index.js"
},
"./inertia-helpers": {
"types": "./dist/js/inertia-helpers/index.d.ts",
"default": "./dist/js/inertia-helpers/index.js"
}
},
"types": "./dist/js/index.d.ts",
"files": ["dist/js/**/*", "tools/clean.js"],
"bin": {
"clean-orphaned-assets": "tools/clean.js"
},
"scripts": {
"build": "npm run build-plugin && npm run build-inertia-helpers",
"build-plugin": "rm -rf dist/js && npm run build-plugin-types && npm run build-plugin-esm && cp src/js/src/dev-server-index.html dist/js/",
"build-plugin-types": "tsc --project src/js/tsconfig.json --emitDeclarationOnly",
"build-plugin-esm": "esbuild src/js/src/index.ts --platform=node --format=esm --outfile=dist/js/index.js",
"build-inertia-helpers": "rm -rf dist/inertia-helpers && tsc --project src/js/tsconfig.inertia-helpers.json",
"lint": "eslint --ext .ts ./src/js/src ./src/js/tests",
"test": "vitest --config ./src/js/vitest.config.ts run"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/node": "^22.10.1",
"esbuild": "0.24.0",
"happy-dom": "^15.11.7",
"typescript": "^5.7.2",
"vite": "^6.0.1",
"vitest": "^2.1.8"
},
"peerDependencies": {
"vite": "^5.0.0 || ^6.0.0"
},
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
},
"dependencies": {
"picocolors": "^1.1.1",
"vite-plugin-full-reload": "^1.2.0"
}
}