Skip to content

Commit

Permalink
changed: smth
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Pasynok committed Nov 6, 2024
1 parent d046082 commit ea8f974
Show file tree
Hide file tree
Showing 8 changed files with 208 additions and 1,248 deletions.
2 changes: 1 addition & 1 deletion .size-limit.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{ "path": "dist/index.js", "limit": "1.2 kB" }]
[{ "path": "dist/index.js", "limit": "800 B" }]
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
build:
rm -rf ./dist && npx tsup src/index.ts --minify --format esm --dts

test:
npx vitest --coverage
rm -rf ./dist && npx tsup src/index.tsx --minify --format esm --dts

lint:
npx size-limit

prepublish:
make build && make lint && make test
make build && make lint

publish:
npm i && make prepublish && npx clean-publish
Loading

0 comments on commit ea8f974

Please sign in to comment.