File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 21
21
"scripts" : {
22
22
"test" : " jest" ,
23
23
"test:watch" : " jest --watch" ,
24
- "prepublishOnly" : " yarn build && chmod +x dist/cli.js && yarn lint && yarn test" ,
24
+ "prepublishOnly" : " yarn build:clean && chmod +x dist/cli.js && yarn lint && yarn test" ,
25
25
"lint:eslint" : " eslint . --cache --ext js,ts" ,
26
26
"lint:misc" : " prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' --ignore-path .gitignore" ,
27
27
"lint" : " yarn lint:eslint && yarn lint:misc --check" ,
28
28
"lint:fix" : " yarn lint:eslint --fix && yarn lint:misc --write" ,
29
+ "build:clean" : " rimraf dist && yarn build" ,
29
30
"build" : " tsc --project ." ,
30
31
"changelog" : " node dist/cli.js"
31
32
},
56
57
"jest" : " ^26.4.2" ,
57
58
"outdent" : " ^0.8.0" ,
58
59
"prettier" : " ^2.2.1" ,
60
+ "rimraf" : " ^3.0.2" ,
59
61
"ts-jest" : " ^26.5.6" ,
60
62
"typescript" : " ^4.2.4"
61
63
}
You can’t perform that action at this time.
0 commit comments