-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.16 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
{
"name": "monorepo-template",
"private": true,
"description": "monorepo develop template",
"homepage": "https://github.com/arvinxx/monorepo-template#readme",
"bugs": {
"url": "https://github.com/arvinxx/monorepo-template"
},
"repository": "git+https://github.com/arvinxx/monorepo-template.git",
"license": "MIT",
"author": "arvinxx(arvinx@foxmail.com)",
"workspaces": [
"packages/*"
],
"scripts": {
"start": "concurrently \"npm run api:dev\" \"npm run site:dev\"",
"build": "father build",
"---------": "",
"release": "multi-semantic-release",
"--------- ": "",
"api:dev": "concurrently \"npm run api:watch\" \"npm run api:server\"",
"api:build": "typedoc",
"api:watch": "onchange 'packages/**/src/**/*.ts' -- npx typedoc",
"api:server": "serve apis",
"--------- ": "",
"docs:dev": "dumi dev",
"docs:build": "dumi build",
"--------- ": "",
"test": "vitest",
"test:update": "vitest -u",
"test:coverage": "vitest run --coverage",
"--------- ": "",
"check": "npm run check:lint && npm run check:circular && npm run check:types",
"check:lint": "npm run 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": "npm run clean && lerna clean && rm -rf node_modules && npm run",
"prepublishOnly": "npm run build",
"prettier": "prettier -c --write \"**/**\"",
"n": "ts-node"
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,md,json}": [
"prettier --write",
"git add"
],
"**/*.{ts,tsx}": "npm run lint-staged:ts"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^10.0.2",
"@testing-library/react-hooks": "^3.2.1",
"@types/classnames": "^2.2.7",
"@types/fs-extra": "^9.0.1",
"@types/jsdom": "^16.2.3",
"@types/react": "^18",
"@types/react-dom": "^18",
"@umijs/lint": "^4",
"@vitest/coverage-c8": "latest",
"antd": "^5",
"commitlint": "^17",
"commitlint-config-gitmoji": "^2",
"concurrently": "^7",
"conventional-changelog-gitmoji-config": "^1.4.0",
"cross-env": "^7",
"dpdm": "^3",
"dumi": "^2",
"dumi-assets-types": "^1",
"dumi-theme-antd-style": "latest",
"eslint": "^8",
"father": "^4",
"husky": "^8",
"jsdom": "^21",
"lint-staged": "^13",
"multi-semantic-release": "^3",
"onchange": "^7",
"prettier": "^2",
"prettier-plugin-organize-imports": "^3",
"prettier-plugin-packagejson": "^2",
"react": "^18",
"react-dom": "^18",
"semantic-release": "^21",
"semantic-release-config-gitmoji": "^1",
"stylelint": "^14",
"typedoc": "^0.24",
"typescript": "^5",
"vitest": "latest"
}
}