This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.92 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
{
"name": "@wetrial/core",
"version": "3.4.0",
"description": "wetrial core library",
"keywords": [
"library"
],
"main": "./lib/index.js",
"module": "./es/index.js",
"types": "./lib/index.d.ts",
"authors": {
"name": "xiexingen",
"email": "1002275364@qq.com"
},
"publishConfig": {
"registry": "https://registry.npmjs.com/"
},
"repository": "https://github.com/wetrial/core",
"homepage": "https://github.com/wetrial/core",
"scripts": {
"start": "npm run dev",
"list": "dumi plugin list",
"dev": "dumi dev",
"js": "node ./.ts2js.js",
"build": "node ./scripts/clean-old-build.js && father build && tsc --declarationDir ./lib && tsc --declarationDir ./es && node ./scripts/build-wind-up.js",
"build:dev": "father build && tsc --declarationDir ./lib && tsc --declarationDir ./es",
"test": "father test",
"cov": "father test --coverage",
"help": "father help",
"precommit": "father pre-commit",
"build:doc": "dumi build",
"patch": "yarn version --patch && git push origin master && git push origin --tags",
"minor": "yarn version --minor && git push origin master && git push origin --tags",
"major": "yarn version --major && git push origin master && git push origin --tags",
"lint": "yarn lint:js && yarn lint:style && yarn lint:prettier",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && yarn lint:style",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./",
"lint:prettier": "check-prettier lint",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'"
},
"dependencies": {
"antd": "^4.6.0",
"axios": "^0.20.0",
"crypto-js": "^4.0.0",
"jsencrypt": "^3.0.0-rc.1",
"lodash": "^4.17.20",
"path-to-regexp": "^6.1.0",
"redux": "^4.0.5",
"store": "^2.0.12"
},
"peerDependencies": {
"antd": "@*",
"lodash": "@*",
"path-to-regexp": "@*",
"react": "@*",
"redux": "@*"
},
"devDependencies": {
"@types/crypto-js": "^3.1.47",
"@types/jest": "^26.0.10",
"@umijs/fabric": "^2.2.2",
"@umijs/plugin-qiankun": "^2.1.1",
"@umijs/test": "^3.2.16",
"check-prettier": "^1.0.3",
"del": "^5.1.0",
"dumi": "^1.0.34",
"enzyme": "^3.11.0",
"father": "^2.29.6",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5",
"typescript": "^4.0.2",
"umi": "^3.2.16"
},
"engines": {
"node": ">=12.16.3"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write",
"git add"
],
"*.ts?(x)": [
"prettier --parser=typescript --write",
"git add"
]
},
"checkFiles": [
"src/**/*.js*",
"src/**/*.ts*"
],
"license": "MIT"
}