File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 19
19
" Jeroen" ,
20
20
" jerone" ,
21
21
" lcov" ,
22
+ " postpack" ,
22
23
" SARIF" ,
23
24
" Snyk" ,
24
25
" sonarcloud" ,
Original file line number Diff line number Diff line change 29
29
"clean" : " rimraf dist coverage" ,
30
30
"lint" : " lockfile-lint && eslint -f checklist ." ,
31
31
"lint:fix" : " prettier --write \" **/*\" & eslint -f checklist --fix ." ,
32
- "prepublishOnly" : " npm run build" ,
32
+ "prepack" : " npm run build && npx clean-package" ,
33
+ "postpack" : " npx clean-package restore" ,
33
34
"security:eslint" : " eslint -f @microsoft/eslint-formatter-sarif -o eslint-results.sarif ." ,
34
35
"test" : " npm run clean && jest" ,
35
36
"typecheck" : " tsc -p tsconfig.json --noEmit"
70
71
},
71
72
"engines" : {
72
73
"node" : " >=14.15.0"
74
+ },
75
+ "clean-package" : {
76
+ "remove" : [
77
+ " clean-package" ,
78
+ " devDependencies" ,
79
+ " scripts"
80
+ ]
73
81
}
74
82
}
You can’t perform that action at this time.
0 commit comments