Skip to content

Commit

Permalink
♻️ refactor: fix with better build flow
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Sep 6, 2023
1 parent ba3174b commit a461696
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ test-output
.umi-test
.dumi


# husky
.husky/prepare-commit-msg

# misc
# add other ignore file below

client.d.ts
client.js
17 changes: 0 additions & 17 deletions client.js

This file was deleted.

File renamed without changes.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"client.js"
],
"scripts": {
"build": "father build",
"build": "father build && npm run build:client",
"build:client": "tsc client.ts --declaration",
"ci": "npm run lint && npm run type-check && npm run test",
"dev": "father dev",
"docs:build": "dumi build",
Expand Down

0 comments on commit a461696

Please sign in to comment.