-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathpackage.json
125 lines (125 loc) · 3.42 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
{
"name": "qiankun",
"version": "2.0.0-4",
"description": "An completed implementation of Micro Frontends",
"keywords": [
"micro frontend",
"microfrontend",
"micro frontends",
"micro-frontend",
"micro-frontends",
"microservice"
],
"main": "./lib/index.js",
"module": "./es/index.js",
"types": "./es/index.d.ts",
"sideEffects": false,
"scripts": {
"examples:install": "npm-run-all --serial build install:*",
"examples:start": "npm-run-all --parallel start:*",
"install:main": "cd examples/main && yarn",
"start:main": "cd examples/main && yarn start",
"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",
"build": "father-build",
"release": "np --no-cleanup --yolo --no-publish",
"prepublishOnly": "yarn lint && yarn test && yarn build",
"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": "check-prettier lint",
"prettier": "prettier -c --write **/*",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"ci": "yarn lint && yarn test",
"test": "NODE_ENV=test jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kuitos/qiankun.git"
},
"files": [
"dist",
"es",
"lib"
],
"author": "Kuitos",
"license": "MIT",
"bugs": {
"url": "https://github.com/kuitos/qiankun/issues"
},
"homepage": "https://github.com/kuitos/qiankun#readme",
"dependencies": {
"@babel/runtime": "^7.5.5",
"import-html-entry": "^1.6.0-2",
"lodash": "^4.17.11",
"single-spa": "^5.3.1",
"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",
"@vuepress/plugin-google-analytics": "^1.2.0",
"@vuepress/plugin-pwa": "^1.2.0",
"babel-plugin-import": "^1.12.1",
"check-prettier": "^1.0.3",
"father-build": "^1.7.0",
"husky": "^2.3.0",
"jest": "^25.2.2",
"lint-staged": "^9.4.2",
"np": "^5.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"ts-jest": "^25.2.1",
"typescript": "^3.4.5",
"vuepress": "^1.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn test"
}
},
"lint-staged": {
"**/*.{js,ts,json,css,md}": [
"yarn prettier",
"git add"
],
"**/*.{js,ts}": [
"yarn lint:fix",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/fixtures/"
],
"transform": {
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest"
},
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/",
"/dist/"
]
}
}