generated from arvinxx/monorepo-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
131 lines (131 loc) · 4.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
126
127
128
129
130
131
{
"name": "@arvinxu/components",
"private": true,
"author": "arvinxx(arvinx@foxmail.com)",
"description": "personal components",
"workspaces": [
"packages/*"
],
"homepage": "https://github.com/arvinxx/components#readme",
"bugs": {
"url": "https://github.com/arvinxx/components"
},
"repository": "git+https://github.com/arvinxx/components.git",
"license": "MIT",
"scripts": {
"start": "yarn docs:dev",
"build": "father-build && yarn build:webpack",
"build:webpack": "lerna run webpack",
"create-pkg": "ts-node scripts/create-package",
"---------": "",
"release": "multi-semantic-release",
"--------- ": "",
"api:dev": "concurrently \"yarn api:watch\" \"yarn api:server\"",
"api:build": "typedoc",
"api:watch": "onchange 'packages/**/src/**/*.ts' -- npx typedoc",
"api:server": "serve apis",
"--------- ": "",
"docs:dev": "umi dev --dumi",
"docs:build": "umi build --dumi",
"--------- ": "",
"test": "lerna run test",
"test:coverage": "jest --coverage",
"--------- ": "",
"check": "yarn check:lint && yarn check:circular && yarn check:types",
"check:lint": "yarn lint-eslint",
"check:circular": "dpdm packages/**/*.ts --warning false --tree false --exit-code circular:1 -T true",
"check:types": "tsc -p tsconfig-check.json",
"lint-eslint": "eslint --cache --ext .ts,.tsx --format=pretty ./packages",
"lint-staged": "lint-staged",
"lint-staged:ts": "eslint --cache --ext .ts,.tsx --format=pretty",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ",
"--------- ": "",
"clean": "lerna run clean && rm -rf es lib dist build coverage .umi .eslintcache apis",
"reinstall": "yarn clean && lerna clean && rm -rf node_modules && yarn",
"prepublishOnly": "yarn build",
"prettier": "prettier -c --write \"**/**\"",
"n": "ts-node"
},
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx,tsx,ts,md,json}": [
"prettier --write",
"git add"
],
"**/*.{ts,tsx}": "npm run lint-staged:ts"
},
"devDependencies": {
"@ant-design/pro-skeleton": "^1.0.0-beta.2",
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-react-jsx": "^7.12.16",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/react-hooks": "^5.1.0",
"@types/classnames": "^2.2.7",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^26.0.20",
"@types/jsdom": "^16.2.3",
"@types/node": "^14.14.10",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.2",
"@types/uuid": "^8.3.0",
"@umijs/fabric": "^2.2.2",
"@umijs/preset-dumi": "^1.1.9",
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.2.10",
"antd": "^4.14.0",
"babel-loader": "^8.1.0",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-import": "^1.12.2",
"babel-plugin-module-resolver": "^4.1.0",
"commitlint": "^12.0.1",
"commitlint-config-gitmoji": "^2.2.1",
"concurrently": "^6.0.0",
"cross-env": "^7.0.0",
"css-loader": "^5.1.3",
"dpdm": "^3.5.0",
"enzyme-to-json": "^3.4.3",
"eslint": "^7.7.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^2.2.1",
"father-build": "^1.18.1",
"fs-extra": "^9.1.0",
"gh-pages": "^3.1.0",
"husky": "^4.0.0",
"jest": "^26.4.2",
"lerna": "^3.22.1",
"less-loader": "^6.0.0",
"lint-staged": "^10.0.2",
"mini-css-extract-plugin": "^0.9.0",
"multi-semantic-release": "^2.6.0",
"onchange": "^7.1.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"prettier": "^2.1.2",
"progress-bar-webpack-plugin": "^2.1.0",
"semantic-release": "^17.3.7",
"semantic-release-config-gitmoji": "^1.1.0",
"serve": "^11.3.2",
"style-loader": "^2.0.0",
"stylelint": "^13.0.0",
"terser-webpack-plugin": "^3.0.2",
"tplant": "^2.3.6",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typedoc": "^0.20.13",
"typescript": "^4.1.3",
"umi": "^3.4.2",
"utility-types": "^3.10.0",
"webpack": "^5.26.1",
"webpack-bundle-analyzer": "^4.1.0",
"webpack-cli": "^4.5.0"
},
"engines": {
"node": ">=8.0.0"
}
}