File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1010 ],
1111 "scripts" : {
1212 "build" : " npx tsc" ,
13+ "clean" : " rm -rf dist" ,
14+ "prepare" : " yarn clean && yarn build" ,
1315 "test" : " echo \" Error: no test specified\" && exit 1" ,
1416 "prepublishOnly" : " npm run build" ,
1517 "changeset" : " changeset" ,
Original file line number Diff line number Diff line change 2929 "start" : " tsc --watch" ,
3030 "watch" : " tsc --watch" ,
3131 "build" : " tsc" ,
32- "prepare" : " tsc" ,
32+ "clean" : " rm -rf dist" ,
33+ "prepare" : " yarn clean && yarn build" ,
3334 "test" : " echo 'Test passed'" ,
3435 "changeset" : " changeset" ,
3536 "version" : " changeset version" ,
Original file line number Diff line number Diff line change 1616 "scripts" : {
1717 "dev" : " tsup --watch" ,
1818 "build" : " tsup" ,
19+ "prepare" : " yarn clean && yarn build" ,
1920 "lint" : " eslint src --ext .ts,.tsx" ,
2021 "typecheck" : " tsc --noEmit" ,
2122 "clean" : " rm -rf dist" ,
You can’t perform that action at this time.
0 commit comments