forked from originjs/vite-plugin-federation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.53 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
{
"name": "vite-plugin-federation",
"private": true,
"workspaces": [
"packages/**"
],
"engines": {
"node": "^14.18.0 || >=16.0.0",
"pnpm": ">=8.0.1"
},
"author": "@originjs",
"license": "MulanPSL-2.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"postinstall": "npx playwright install",
"lint-staged": "lint-staged",
"format": "prettier -w packages/lib/**/*.ts",
"lint": "eslint packages/*/{src,types}/**",
"lint:fix": "eslint --fix",
"build": "cd packages/lib && pnpm build",
"test": "npm-run-all test:unit test:e2e-serve test:e2e-dev",
"test:unit": "vitest run --coverage",
"test:e2e-serve": "vitest run -c vitest.config.e2e-serve.ts",
"test:e2e-dev": "vitest run -c vitest.config.e2e-dev.ts"
},
"devDependencies": {
"@types/node": "^18.6.4",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"@vitest/coverage-c8": "^0.26.3",
"chalk": "^5.0.1",
"eslint": "^8.21.0",
"eslint-plugin-node": "^11.1.0",
"execa": "^6.1.0",
"fs-extra": "^10.0.0",
"husky": "^8.0.1",
"kill-port": "^2.0.1",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"playwright-chromium": "^1.24.2",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"tslib": "^2.4.0",
"typescript": "^4.9.4",
"vite": "^4.0.3",
"vitest": "^0.26.2"
},
"lint-staged": {
"*.{ts,js,json,tsx,jsx,vue}": [
"prettier --write",
"eslint --cache --fix",
"eslint"
]
}
}