-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
50 lines (50 loc) · 1.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
{
"name": "ming",
"version": "1.1.1",
"description": "Ming means Sun and Moon, A framework worked with qiankun and umi3.x",
"main": "app.js",
"scripts": {
"build:all": "npm run copy && npm run build:foundation & npm run build:account & npm run build:home & npm run build:car",
"build:foundation": "cd foundation && npm install && npm run build && rm -f ../dist/umi.*.js && rm -f ../dist/umi.*.css && cp -rvf dist/. ../dist/",
"build:account": "cd account && npm install && npm run build:qiankun && rm -rf ../dist/account/ && cp -rvf dist ../dist/account",
"build:home": "cd home && npm install && npm run build:qiankun && rm -rf ../dist/home/ && cp -rvf dist ../dist/home",
"build:car": "cd car && npm install && npm run build:qiankun && rm -rf ../dist/car/ && cp -rvf dist ../dist/car",
"copy": "rm -rf dist && mkdir dist && cp app.js dist/ && cp package.json dist/ && cp Dockerfile dist/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Vizards/Ming.git"
},
"keywords": [
"umijs",
"umi3",
"qiankun",
"micro-frontend"
],
"author": "Vizards <[email protected]>",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/Vizards/Ming/issues"
},
"homepage": "https://github.com/Vizards/Ming#readme",
"dependencies": {
"@hapi/hapi": "^20.0.0",
"inert": "^5.1.3"
},
"devDependencies": {
"lint-staged": "^10.3.0",
"prettier": "^2.1.1",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
}
}