forked from module-federation/vite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.86 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.86 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "@module-federation/vite",
"version": "1.18.2",
"description": "Vite plugin for Module Federation",
"type": "module",
"main": "./lib/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./ssrEntryLoader": {
"types": "./lib/utils/ssrEntryLoader.d.ts",
"default": "./lib/utils/ssrEntryLoader.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"files": [
"lib/**/*"
],
"scripts": {
"prepare": "husky install",
"fmt": "oxfmt src",
"fmt.check": "oxfmt --check src",
"dev": "tsdown --watch",
"build": "tsdown",
"clean": "pnpm -r exec rm -rf dist node_modules/__mf__virtual .vite node_modules/.vite",
"dev-rv": "pnpm clean && pnpm -filter 'examples-rust-vite*' run dev",
"preview-rv": "pnpm clean && pnpm -filter 'examples-rust-vite*' run preview",
"dev-vv": "pnpm clean && pnpm -filter 'examples-vite-vite*' run dev",
"preview-vv": "pnpm clean && pnpm run build:shared-lib && pnpm -filter 'examples-vite-vite*' --parallel run preview",
"preview-vv:ci": "pnpm run build:shared-lib && pnpm -filter 'examples-vite-vite*' --parallel run preview",
"build:shared-lib": "pnpm --filter @vite-vite/shared-lib run build",
"typecheck": "tsc -p tsconfig.json",
"multi-example:ci": "pnpm -filter 'multi-example-*' --parallel run start",
"mixed-vv:1": "pnpm clean && pnpm -filter 'examples-vite-vite*' run mixed:1",
"mixed-vv:2": "pnpm clean && pnpm -filter 'examples-vite-vite*' run mixed:2",
"multi-example": "pnpm clean && pnpm --filter 'multi-example-*' --parallel run start",
"test": "vitest run --dir src",
"test:integration": "vitest run integration",
"e2e": "playwright test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/module-federation/vite.git"
},
"keywords": [
"vite",
"vite-plugin",
"module federation",
"microfrontend"
],
"author": {
"name": "Giorgio Boa",
"email": "giorgiob.boa@gmail.com",
"url": "https://github.com/gioboa"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/module-federation/vite/issues"
},
"homepage": "https://github.com/module-federation/vite#readme",
"packageManager": "pnpm@10.28.2",
"peerDependencies": {
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
},
"dependencies": {
"@module-federation/dts-plugin": "2.8.0",
"@module-federation/runtime": "2.8.0",
"@module-federation/sdk": "2.8.0"
},
"devDependencies": {
"@playwright/test": "1.58.2",
"@types/node": "25.3.3",
"husky": "9.1.7",
"mock-shared-dep": "workspace:*",
"oxfmt": "0.36.0",
"rollup": "4.47.1",
"tsdown": "0.21.0",
"typescript": "5.9.3",
"vite": "8.1.0",
"vitest": "4.0.18"
}
}