Skip to content

Commit

Permalink
Build files before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
KrofDrakula committed May 1, 2023
1 parent 16236b0 commit a840908
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@krofdrakula/drop",
"version": "0.0.3",
"version": "0.0.4",
"private": false,
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -36,7 +36,8 @@
"scripts": {
"build": "vite build",
"dev": "vite",
"test": "vitest"
"test": "vitest",
"prepublish": "vite build"
},
"devDependencies": {
"typescript": "^5.0.4",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"declaration": true,
"module": "ESNext",
"lib": ["DOM", "ESNext"]
}
},
"include": ["src"]
}

0 comments on commit a840908

Please sign in to comment.