-
-
Notifications
You must be signed in to change notification settings - Fork 419
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3 KB
/
Copy pathpackage.json
File metadata and controls
109 lines (109 loc) · 3 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "@module-federation/dts-plugin",
"version": "2.5.1",
"author": "hanric <hanric.zhang@gmail.com>",
"main": "./dist/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/module-federation/core.git",
"directory": "packages/dts-plugin"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/",
"README.md"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./core": {
"import": {
"types": "./dist/core.d.ts",
"default": "./dist/esm/core.mjs"
},
"require": {
"types": "./dist/core.d.ts",
"default": "./dist/core.js"
}
},
"./dynamic-remote-type-hints-plugin": {
"import": {
"types": "./dist/dynamic-remote-type-hints-plugin.d.ts",
"default": "./dist/esm/dynamic-remote-type-hints-plugin.mjs"
},
"require": {
"types": "./dist/dynamic-remote-type-hints-plugin.d.ts",
"default": "./dist/dynamic-remote-type-hints-plugin.js"
}
},
"./*": "./*"
},
"typesVersions": {
"*": {
".": [
"./dist/index.d.ts"
],
"core": [
"./dist/core.d.ts"
],
"dynamic-remote-type-hints-plugin": [
"./dist/dynamic-remote-type-hints-plugin.d.ts"
]
}
},
"dependencies": {
"@module-federation/error-codes": "workspace:*",
"@module-federation/managers": "workspace:*",
"@module-federation/sdk": "workspace:*",
"@module-federation/third-party-dts-extractor": "workspace:*",
"adm-zip": "0.5.10",
"ansi-colors": "4.1.3",
"isomorphic-ws": "5.0.0",
"undici": "7.24.7",
"node-schedule": "2.1.1",
"ws": "8.21.0"
},
"devDependencies": {
"@module-federation/runtime": "workspace:*",
"@types/node-schedule": "2.1.7",
"@types/ws": "8.5.12",
"@vue/tsconfig": "^0.7.0",
"directory-tree": "3.5.2",
"rimraf": "~6.0.1",
"typescript": "6.0.3",
"vitest": "1.6.0",
"vue": "^3.5.13",
"vue-tsc": "^2.2.10",
"webpack": "^5.104.1"
},
"peerDependencies": {
"typescript": "^4.9.0 || ^5.0.0 || ^6.0.0",
"vue-tsc": ">=1.0.24"
},
"peerDependenciesMeta": {
"vue-tsc": {
"optional": true
}
},
"scripts": {
"build": "tsdown --config ./tsdown.config.ts && sleep 1 && cp *.md ./dist",
"test": "node -e \"require('fs').rmSync('dist-test',{recursive:true,force:true,maxRetries:20,retryDelay:50})\" && pnpm run test-impl",
"test-impl": "pnpm exec vitest run --passWithNoTests --config vite.config.mts",
"lint": "ESLINT_USE_FLAT_CONFIG=false pnpm exec eslint --ignore-pattern node_modules \"**/*.ts\" \"package.json\"",
"build-debug": "FEDERATION_DEBUG=true pnpm run build",
"pre-release": "pnpm run test && pnpm run build"
}
}