forked from umijs/qiankun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 3.67 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
130
131
{
"name": "qiankun",
"version": "2.7.4",
"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": {
"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 && yarn",
"start:main": "cd examples/main && yarn start",
"start-main-multiple": "cd examples/main && yarn start:multiple",
"install:react16": "cd examples/react16 && yarn",
"start:react16": "cd examples/react16 && yarn start",
"install:react15": "cd examples/react15 && yarn",
"start:react15": "cd examples/react15 && yarn start",
"install:vue": "cd examples/vue && yarn",
"start:vue": "cd examples/vue && yarn start",
"install:angular9": "cd examples/angular9 && yarn",
"start:angular9": "cd examples/angular9 && yarn serve:qiankun",
"install:purehtml": "cd examples/purehtml && yarn",
"start:purehtml": "cd examples/purehtml && yarn start",
"install:vue3": "cd examples/vue3 && yarn",
"start:vue3": "cd examples/vue3 && yarn start",
"build": "father-build",
"release": "np --no-cleanup --yolo --no-publish",
"prepublishOnly": "yarn ci",
"lint": "yarn lint:js && yarn lint:prettier",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:fix": "yarn lint:js -- --fix",
"lint:prettier": "prettier -c ./src/**/*",
"prettier": "prettier --write ./src/**/*",
"docs:dev": "dumi dev",
"docs:build": "dumi build",
"ci": "yarn lint && yarn build && yarn test",
"test": "cross-env NODE_ENV=test jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn test"
}
},
"lint-staged": {
"**/*.{js,ts,json,css,md}": [
"prettier -w"
],
"**/*.{js,ts}": [
"yarn 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.9.0",
"lodash": "^4.17.11",
"single-spa": "^5.9.2",
"tslib": "^1.10.0"
},
"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",
"father-build": "^1.7.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.1.2",
"umi-plugin-hire": "^1.0.3"
}
}