Skip to content

Commit a840908

Browse files
committed
Build files before publishing
1 parent 16236b0 commit a840908

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@krofdrakula/drop",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"private": false,
55
"publishConfig": {
66
"access": "public"
@@ -36,7 +36,8 @@
3636
"scripts": {
3737
"build": "vite build",
3838
"dev": "vite",
39-
"test": "vitest"
39+
"test": "vitest",
40+
"prepublish": "vite build"
4041
},
4142
"devDependencies": {
4243
"typescript": "^5.0.4",

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"declaration": true,
55
"module": "ESNext",
66
"lib": ["DOM", "ESNext"]
7-
}
7+
},
8+
"include": ["src"]
89
}

0 commit comments

Comments
 (0)