File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 10
10
" /lib"
11
11
],
12
12
"scripts" : {
13
- "lint" : " eslint src" ,
14
- "test" : " echo \" Error: no test specified\" && exit 1" ,
15
- "build" : " rm -rf lib && npm run build:esm && npm run build:cjs && npm run copy" ,
16
- "build:esm" : " tsc" ,
17
- "build:cjs" : " tsc --module commonjs --outDir lib/cjs" ,
18
- "copy" : " npm run copy:esm && npm run copy:cjs" ,
19
- "copy:esm" : " cp -r src/public lib/esm/public" ,
20
- "copy:cjs" : " cp -r src/public lib/cjs/public"
13
+ "dev" : " vite" ,
14
+ "start" : " serve -s dist" ,
15
+ "build" : " tsc && vite build" ,
16
+ "preview" : " vite preview" ,
17
+ "test" : " vitest run" ,
18
+ "test:coverage" : " vitest run --coverage" ,
19
+ "test:verbose" : " vitest run --reporter=verbose --coverage.thresholds.lines=90 --coverage.thresholds.functions=90 --coverage.thresholds.branches=90 --coverage.thresholds.statements=90" ,
20
+ "test:ui" : " vitest --ui" ,
21
+ "format" : " prettier --write ." ,
22
+ "format:check" : " prettier --check --write=false ." ,
23
+ "lint" : " eslint --max-warnings=0 ." ,
24
+ "lint:fix" : " eslint --fix ." ,
25
+ "type-check" : " tsc --noEmit"
21
26
},
22
27
"repository" : {
23
28
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments