-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
88 lines (88 loc) · 2.56 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
{
"name": "yunti",
"version": "0.1.0",
"description": "A low-code platform.",
"keywords": [
"low-code",
"low-code engine",
"yunti-ui"
],
"license": "MIT",
"scripts": {
"build": "concurrently \"npm run build:console\" \"npm run build:server\"",
"build:console": "pnpm --filter 'yunti-console' build",
"build:docs": "dumi build",
"build:server": "pnpm --filter 'yunti-server' build",
"dev": "concurrently \"npm run dev:console\" \"npm run dev:server\"",
"dev:console": "pnpm --filter 'yunti-console' dev",
"dev:docs": "dumi dev",
"dev:server": "pnpm --filter 'yunti-server' dev",
"lint": "npm run lint:es && npm run lint:style && npm run lint:md",
"lint-fix": "npm run lint-fix:es && npm run lint-fix:style",
"lint-fix:es": "eslint \"{docs,packages}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint-fix:style": "stylelint \"{docs,packages}/**/*.{css,less,js,jsx,ts,tsx}\" --fix",
"lint:es": "eslint \"{docs,packages}/**/*.{js,jsx,ts,tsx}\"",
"lint:md": "remark . --quiet --output",
"lint:style": "stylelint --allow-empty-input \"{docs,packages}/**/*.{css,less,js,jsx,ts,tsx}\"",
"prepare": "husky install",
"prettier": "prettier -c --write \"**/**\"",
"test": "echo \"Error: no test specified\" && exit 1"
},
"lint-staged": {
"*.md": [
"remark --quiet --output --",
"prettier --write --no-error-on-unmatched-pattern"
],
"*.json": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{css,less}": [
"stylelint --allow-empty-input --fix",
"prettier --write"
],
"*.{js,jsx}": [
"stylelint --allow-empty-input --fix",
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx}": [
"stylelint --allow-empty-input --fix",
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"devDependencies": {
"@types/react": "^17",
"@types/react-dom": "^17",
"@yuntijs/lint": "^1.7.1",
"@yuntijs/ui": "^1.0.0-beta.63",
"commitlint": "^18",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"dumi": "^2.2.16",
"eslint": "^8",
"father": "^4.3.8",
"husky": "^8",
"lint-staged": "^15",
"prettier": "^3",
"react": "^17",
"react-dom": "^17",
"remark": "^14",
"remark-cli": "^11",
"remark-gfm": "^3",
"semantic-release": "^21",
"stylelint": "^15",
"ts-node": "^10",
"typescript": "^5"
},
"engines": {
"node": ">=18.12.0",
"pnpm": ">=8.1.0"
},
"authors": [
{
"name": "Carrotzpc",
"email": "[email protected]"
}
]
}