-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
175 lines (175 loc) · 7.15 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"private": true,
"version": "0.0.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"bootstrap": "pnpm install && node scripts/bootstrap.mjs",
"lint": "varlet-cli lint",
"changelog": "varlet-cli changelog"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --allow-empty --concurrent false",
"commit-msg": "npx --no-install varlet-cli commit-lint $1"
},
"lint-staged": {
"*.{ts,tsx,js,vue,less}": "prettier --write",
"*.{ts,tsx,js,vue}": "eslint --fix",
"*.{vue,css,less}": "stylelint --fix"
},
"eslintConfig": {
"root": true,
"extends": [
"@varlet"
],
"ignorePatterns": [
"packages/varlet-lowcode-renderer/public/**",
"packages/varlet-lowcode-renderer/lib/**",
"packages/varlet-lowcode-renderer/dist/**",
"packages/varlet-lowcode-renderer/types/**",
"packages/varlet-lowcode-designer/lib/**",
"packages/varlet-lowcode-designer/public/**",
"packages/varlet-lowcode-designer/dist/**",
"packages/varlet-lowcode-designer/types/**",
"packages/varlet-lowcode-core/lib/**",
"packages/varlet-lowcode-core/public/**",
"packages/varlet-lowcode-core/dist/**",
"packages/varlet-lowcode-core/types/**",
"packages/varlet-lowcode-dnd/lib/**",
"packages/varlet-lowcode-dnd/public/**",
"packages/varlet-lowcode-dnd/dist/**",
"packages/varlet-lowcode-dnd/types/**",
"packages/varlet-lowcode-profile/lib/**",
"packages/varlet-lowcode-profile/public/**",
"packages/varlet-lowcode-profile/dist/**",
"packages/varlet-lowcode-profile/types/**",
"packages/varlet-lowcode-skeleton/lib/**",
"packages/varlet-lowcode-skeleton/public/**",
"packages/varlet-lowcode-skeleton/dist/**",
"packages/varlet-lowcode-skeleton/types/**",
"packages/varlet-lowcode-codegen/lib/**",
"packages/varlet-lowcode-codegen/public/**",
"packages/varlet-lowcode-codegen/dist/**",
"packages/varlet-lowcode-codegen/types/**",
"packages/varlet-lowcode-parser/lib/**",
"packages/varlet-lowcode-parser/public/**",
"packages/varlet-lowcode-parser/dist/**",
"packages/varlet-lowcode-parser/types/**",
"packages/varlet-lowcode-setters/lib/**",
"packages/varlet-lowcode-setters/public/**",
"packages/varlet-lowcode-setters/dist/**",
"packages/varlet-lowcode-setters/types/**",
"packages/varlet-lowcode-cli/lib/**",
"packages/varlet-lowcode-schema-jsx-vite-plugin/lib/**",
"packages/varlet-lowcode-code-editor/lib/**",
"packages/varlet-lowcode-code-editor/types/**",
"packages/varlet-lowcode-monaco/lib/**",
"packages/varlet-lowcode-monaco/types/**",
"packages/varlet-lowcode-schema-editor/lib/**",
"packages/varlet-lowcode-schema-editor/types/**",
"packages/varlet-lowcode-schema-tree/lib/**",
"packages/varlet-lowcode-schema-tree/types/**",
"packages/varlet-lowcode-selector/lib/**",
"packages/varlet-lowcode-selector/types/**",
"packages/varlet-lowcode-undo-redo/lib/**",
"packages/varlet-lowcode-undo-redo/types/**",
"packages/varlet-lowcode-resizer/lib/**",
"packages/varlet-lowcode-resizer/types/**",
"packages/varlet-lowcode-materials-panel/lib/**",
"packages/varlet-lowcode-materials-panel/types/**",
"packages/varlet-lowcode-locale-switcher/lib/**",
"packages/varlet-lowcode-locale-switcher/types/**"
],
"rules": {
"no-new-func": "off",
"no-useless-escape": "off",
"no-eval": "off",
"no-continue": "off",
"no-restricted-syntax": "off",
"no-prototype-builtins": "off",
"import/no-named-default": "off",
"no-with": "off",
"vue/no-setup-props-destructure": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/ban-ts-comment": "off"
}
},
"stylelint": {
"extends": [
"@varlet/stylelint-config"
],
"ignoreFiles": [
"packages/varlet-lowcode-renderer/public/**",
"packages/varlet-lowcode-renderer/lib/**",
"packages/varlet-lowcode-renderer/dist/**",
"packages/varlet-lowcode-renderer/types/**",
"packages/varlet-lowcode-designer/lib/**",
"packages/varlet-lowcode-designer/public/**",
"packages/varlet-lowcode-designer/dist/**",
"packages/varlet-lowcode-designer/types/**",
"packages/varlet-lowcode-core/lib/**",
"packages/varlet-lowcode-core/public/**",
"packages/varlet-lowcode-core/dist/**",
"packages/varlet-lowcode-core/types/**",
"packages/varlet-lowcode-dnd/lib/**",
"packages/varlet-lowcode-dnd/public/**",
"packages/varlet-lowcode-dnd/dist/**",
"packages/varlet-lowcode-dnd/types/**",
"packages/varlet-lowcode-profile/lib/**",
"packages/varlet-lowcode-profile/public/**",
"packages/varlet-lowcode-profile/dist/**",
"packages/varlet-lowcode-profile/types/**",
"packages/varlet-lowcode-skeleton/lib/**",
"packages/varlet-lowcode-skeleton/public/**",
"packages/varlet-lowcode-skeleton/dist/**",
"packages/varlet-lowcode-skeleton/types/**",
"packages/varlet-lowcode-selector/lib/**",
"packages/varlet-lowcode-selector/public/**",
"packages/varlet-lowcode-selector/dist/**",
"packages/varlet-lowcode-selector/types/**",
"packages/varlet-lowcode-codegen/lib/**",
"packages/varlet-lowcode-codegen/public/**",
"packages/varlet-lowcode-codegen/dist/**",
"packages/varlet-lowcode-codegen/types/**",
"packages/varlet-lowcode-parser/lib/**",
"packages/varlet-lowcode-parser/public/**",
"packages/varlet-lowcode-parser/dist/**",
"packages/varlet-lowcode-parser/types/**",
"packages/varlet-lowcode-setters/lib/**",
"packages/varlet-lowcode-setters/public/**",
"packages/varlet-lowcode-setters/dist/**",
"packages/varlet-lowcode-setters/types/**",
"packages/varlet-lowcode-cli/lib/**",
"packages/varlet-lowcode-schema-jsx-vite-plugin/lib/**",
"packages/varlet-lowcode-code-editor/lib/**",
"packages/varlet-lowcode-code-editor/types/**",
"packages/varlet-lowcode-monaco/lib/**",
"packages/varlet-lowcode-monaco/types/**",
"packages/varlet-lowcode-schema-editor/lib/**",
"packages/varlet-lowcode-schema-editor/types/**",
"packages/varlet-lowcode-schema-tree/lib/**",
"packages/varlet-lowcode-schema-tree/types/**",
"packages/varlet-lowcode-undo-redo/lib/**",
"packages/varlet-lowcode-undo-redo/types/**",
"packages/varlet-lowcode-resizer/lib/**",
"packages/varlet-lowcode-resizer/types/**",
"packages/varlet-lowcode-materials-panel/lib/**",
"packages/varlet-lowcode-materials-panel/types/**",
"packages/varlet-lowcode-locale-switcher/lib/**",
"packages/varlet-lowcode-locale-switcher/types/**"
]
},
"devDependencies": {
"@varlet/cli": "latest",
"@varlet/eslint-config": "latest",
"@varlet/stylelint-config": "latest",
"eslint": "^7.32.0",
"execa": "^5.1.1",
"lint-staged": "^10.5.4",
"ora": "^5.4.1",
"prettier": "^2.6.2",
"simple-git-hooks": "^2.8.0",
"stylelint": "^13.13.1",
"typescript": "^4.7.2"
},
"packageManager": "[email protected]"
}