-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
139 lines (139 loc) · 4.37 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
132
133
134
135
136
137
138
139
{
"name": "at-console-components",
"version": "1.15.6",
"description": "Ant Design Admin",
"repository": "[email protected]:aotuzuche/at-console-components.git",
"author": "shaodahong <[email protected]>",
"license": "MIT",
"scripts": {
"compile": "yarn clean && yarn build:lib && yarn build:es && yarn build:cp",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=es babel --config-file ./.babelrc.js components --out-dir es --ignore **/__tests__/*,**/demo/* --extensions \".ts,.tsx\" && tsc -p tsconfig.build.json --outDir es",
"build:lib": "cross-env NODE_ENV=production babel --config-file ./.babelrc.js components --out-dir lib --ignore **/__tests__/*,**/demo/* --extensions \".ts,.tsx\" && tsc -p tsconfig.build.json --outDir lib",
"build:cp": "cpy '**/*.scss' '../lib' --cwd=components --parents && cpy '**/*.scss' '../es' --cwd=components --parents",
"clean": "rimraf es && rimraf lib",
"lint": "yarn lint:eslint && yarn lint:tsc",
"lint:eslint": "eslint . --ext .js,.jsx,.ts,.tsx,.md",
"lint:tsc": "tsc --noEmit",
"build": "dumi build",
"deploy": "yarn build",
"prettier": "prettier '**/*' -c --write",
"start": "dumi dev",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"prepublishOnly": "yarn lint && yarn compile && np --no-cleanup --yolo --no-publish",
"ci": "yarn commit",
"commit": "git-cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"ghpages": "git subtree push --prefix=site origin gh-pages"
},
"husky": {
"hooks": {
"commit-msg": "node scripts/verify-commit-msg.js",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md}": "eslint --fix",
"*.{js,jsx,ts,tsx,md,css}": "prettier --write"
},
"main": "./lib/index",
"module": "./es/index",
"files": [
"dist",
"lib",
"es"
],
"sideEffects": [
"dist/*",
"es/**/style/*",
"lib/**/style/*",
"*.less"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@ant-design/compatible": "^1.0.8",
"@ant-design/icons": "^4.3.0",
"@babel/runtime": "^7.12.5",
"@types/js-cookie": "^3.0.3",
"axios": "^1.6.2",
"classnames": "^2.2.6",
"js-cookie": "^3.0.5",
"lodash": "^4.17.19"
},
"peerDependencies": {
"antd": ">=4.0.0",
"moment": "*",
"react": ">=16.9.0",
"react-dom": ">=16.9.0",
"react-router-dom": ">=5.1.0"
},
"devDependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"@types/classnames": "^2.2.11",
"@types/enzyme": "^3.10.8",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^26.0.16",
"@types/lodash": "^4.14.165",
"@types/lodash-es": "^4.17.3",
"@types/mockjs": "^1.0.3",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@umijs/plugin-sass": "^1.1.1",
"@umijs/preset-react": "1.7.8",
"@umijs/test": "^3.3.0",
"antd": "^4.9.2",
"babel-loader": "^8.2.2",
"babel-plugin-import": "^1.13.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"commitizen": "^4.2.2",
"conventional-changelog": "^3.1.24",
"conventional-changelog-cli": "^2.1.1",
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"dumi": "^1.1.0-rc.7",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "^7.15.0",
"eslint-config-atzuche": "^3.0.0",
"eslint-plugin-markdown": "^1.0.2",
"father-build": "^1.19.1",
"git-cz": "^4.7.6",
"husky": "^4.3.5",
"less": "^3.12.2",
"lint-staged": "^10.5.3",
"mockjs": "^1.1.0",
"moment": "^2.29.1",
"np": "^7.0.0",
"prettier": "^2.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-route": "^1.0.3",
"react-router-dom": "^5.2.0",
"rimraf": "^3.0.2",
"typescript": "^4.1.2"
},
"browserslist": [
"last 2 versions",
"Firefox ESR",
"> 1%",
"ie >= 11"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"resolutions": {
"js-cookie": "^2.2.0"
}
}