-
Notifications
You must be signed in to change notification settings - Fork 289
/
scripts.json
51 lines (51 loc) · 1.65 KB
/
scripts.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
{
"$schema": "https://raw.githubusercontent.com/iamyoki/better-scripts/main/lib/schema.json",
"dev": {
"alias": "Dev",
"desc": "Start a development server",
"command": "pnpm --filter vue-devui dev"
},
"dev:site": {
"alias": "Dev:Site",
"desc": "Start a development server",
"command": "pnpm --filter vue-devui dev:site"
},
"build": {
"alias": "Build",
"desc": "Build theme and docs",
"command": "pnpm --filter vue-devui build"
},
"build:lib": {
"alias": "Build lib",
"desc": "Build components and release",
"command": "pnpm --filter vue-devui build:lib --reporter default"
},
"build:lib:theme": {
"alias": "Build theme lib",
"desc": "Build theme package",
"command": "pnpm --filter devui-theme build"
},
"build:cli": {
"alias": "Build cli",
"desc": "Build devui-cli",
"command": "pnpm --filter devui-cli build"
},
"lints": {
"alias": "Lints",
"desc": "Select a lint script to run",
"scripts": {
"eslint": ["eslint \"packages/**/{*.vue,*.js,*.ts,*.jsx,*.tsx}\"", "Lint source files"],
"eslint:fix": ["eslint --fix \"packages/**/{*.vue,*.js,*.ts,*.jsx,*.tsx}\"", "Lint and fix source files"],
"stylelint": ["stylelint \"packages/**/{*.scss,*.css}\"", "Lint styles"],
"stylelint:fix": ["stylelint --fix \"packages/**/{*.scss,*.css}\"", "Lint and fix styles"]
}
},
"tests": {
"alias": "Tests",
"desc": "Select a test script to run",
"scripts": {
"test": ["pnpm --filter vue-devui test --reporter default", "Test vue-devui"],
"coverage": ["pnpm --filter vue-devui coverage", "Test vue-devui and gen coverage"]
}
}
}