forked from umijs/qiankun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 3.52 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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "qiankun",
"version": "2.10.9",
"description": "A completed implementation of Micro Frontends",
"keywords": [
"micro frontend",
"microfrontend",
"micro frontends",
"micro-frontend",
"micro-frontends",
"microservice"
],
"homepage": "https://github.com/kuitos/qiankun#readme",
"bugs": {
"url": "https://github.com/kuitos/qiankun/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kuitos/qiankun.git"
},
"license": "MIT",
"author": "Kuitos",
"sideEffects": false,
"main": "./lib/index.js",
"module": "./es/index.js",
"types": "./es/index.d.ts",
"files": [
"dist",
"es",
"lib"
],
"scripts": {
"i": "pnpm bootstrap",
"examples:install": "npm-run-all --serial build install:*",
"examples:start": "npm-run-all --parallel start:*",
"examples:start-multiple": "run-p start-main-multiple start:react15 start:vue",
"install:main": "cd examples/main && pnpm i",
"start:main": "cd examples/main && pnpm start",
"start-main-multiple": "cd examples/main && pnpm start:multiple",
"install:react16": "cd examples/react16 && pnpm i",
"start:react16": "cd examples/react16 && pnpm start",
"install:react15": "cd examples/react15 && pnpm i",
"start:react15": "cd examples/react15 && pnpm start",
"install:purehtml": "cd examples/purehtml && pnpm i",
"start:purehtml": "cd examples/purehtml && pnpm start",
"install:umi4": "cd examples/umi4 && pnpm i",
"start:umi4": "cd examples/umi4 && pnpm start",
"build": "father-build",
"release": "np --no-cleanup --yolo --no-publish",
"prepublishOnly": "pnpm ci",
"lint": "pnpm lint:js && pnpm lint:prettier",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:fix": "pnpm lint:js -- --fix",
"lint:prettier": "prettier -c ./src/**/*",
"prettier": "prettier --write ./src/**/*",
"docs:dev": "dumi dev",
"docs:build": "dumi build",
"ci": "pnpm lint && pnpm build && pnpm test",
"test": "cross-env NODE_ENV=test jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "pnpm test"
}
},
"lint-staged": {
"**/*.{js,ts,json,css,md}": [
"prettier -w"
],
"**/*.{js,ts}": [
"pnpm lint:fix"
]
},
"jest": {
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/",
"/dist/"
],
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/fixtures/"
],
"transform": {
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest"
}
},
"resolutions": {
"@types/history": "^4.x",
"@types/react": "^17.x"
},
"dependencies": {
"@babel/runtime": "^7.10.5",
"import-html-entry": "^1.14.5",
"lodash": "^4.17.11",
"single-spa": "^5.9.2"
},
"devDependencies": {
"@types/jest": "^25.1.4",
"@types/lodash": "^4.14.129",
"@types/vfile-message": "1.x",
"@umijs/fabric": "^2.0.7",
"babel-plugin-import": "^1.12.1",
"cross-env": "^7.0.2",
"dumi": "^1.1.0-beta.24",
"eslint": "^8.44.0",
"father-build": "^1.7.0",
"globals": "^13.17.0",
"husky": "^2.3.0",
"jest": "^25.2.2",
"levenary": "^1.1.1",
"lint-staged": "^10.5.4",
"np": "^5.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"rimraf": "^3.0.0",
"ts-jest": "^25.2.1",
"typescript": "^4.8.2",
"umi-plugin-hire": "^1.0.3"
}
}