File tree 3 files changed +4
-7
lines changed
3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 24
24
with :
25
25
node-version : ${{ matrix.node-version }}
26
26
27
- - run : npm ci
28
- - run : npm run build
29
- - run : npm test
27
+ - run : npm cit
Original file line number Diff line number Diff line change 27
27
},
28
28
"scripts" : {
29
29
"build" : " tsup" ,
30
- "lint" : " eslint . --ext .js,.ts" ,
30
+ "lint" : " tsc --noEmit && eslint . --ext .js,.ts" ,
31
31
"prebuild" : " rm -rf dist/" ,
32
32
"prepack" : " npm run build" ,
33
33
"prepare" : " husky install" ,
34
- "pretest" : " npm run build; npm run lint" ,
34
+ "pretest" : " npm run lint" ,
35
35
"prettier" : " prettier --list-different --write \" ./**/**.{js,ts}\" " ,
36
- "test" : " vitest --coverage"
36
+ "test" : " vitest run --coverage"
37
37
},
38
38
"devDependencies" : {
39
39
"@commitlint/cli" : " ^17.6.5" ,
Original file line number Diff line number Diff line change @@ -16,5 +16,4 @@ export default defineConfig((options: Options) => ({
16
16
silent : ! options . watch ,
17
17
sourcemap : true ,
18
18
splitting : true ,
19
- treeshake : true ,
20
19
} ) ) ;
You can’t perform that action at this time.
0 commit comments