package.json
1.95 KB
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
{
"name": "micro-app-template",
"private": true,
"scripts": {
"analyze": "cross-env ANALYZE=1 qx-cli build",
"start": "cross-env UMI_APP_ENV=dev qx-cli start",
"start:test": "cross-env UMI_APP_ENV=test qx-cli start",
"start:pre": "cross-env UMI_APP_ENV=pre qx-cli start",
"build": "cross-env UMI_APP_ENV=prod qx-cli build",
"build:dev": "cross-env UMI_APP_ENV=dev qx-cli build",
"build:test": "cross-env UMI_APP_ENV=test qx-cli build",
"postinstall": "umi generate tmp && git submodule update --remote",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"prepare": "husky install",
"lint-staged": "lint-staged",
"rm-submodule": "git rm –cached libs & rm -rf libs",
"update-submodule": "cd libs & git pull origin feature/libs"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"src/**/*.{js,jsx,less,md,json}": [
"prettier --write"
],
"src/**/*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@qx/ui": "0.0.3-beta.1",
"ahooks": "^3.7.2",
"antd": "^4.20.0",
"classnames": "^2.3.2",
"lodash": "^4.17.21",
"qiankun": "^2.10.11",
"react": "^16.14.0",
"react-cookies": "^0.1.1",
"react-dom": "^16.14.0",
"umi": "^3.5.35"
},
"devDependencies": {
"@qx/types": "^0.0.1",
"@types/lodash": "^4.14.196",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"@umijs/plugin-esbuild": "^1.4.2",
"@umijs/plugin-qiankun": "^2.43.3",
"@umijs/preset-react": "1.x",
"cross-env": "^7.0.3",
"eslint": "^7.1.0",
"eslint-plugin-react": "^7.31.10",
"husky": "^8.0.2",
"lint-staged": "^10.0.7",
"mini-css-extract-plugin": "^2.7.6",
"prettier": "^2.2.0",
"typescript": "^4.1.2"
}
}