Skip to content

Commit 212b343

Browse files
committed
Ensure dist file is updated before releasing
1 parent f7fa1f5 commit 212b343

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"scripts": {
3131
"build": "tsc",
3232
"dist": "tsc && ncc build",
33-
"lint": "eslint --ext .ts src"
33+
"lint": "eslint --ext .ts src",
34+
"version": "npm run build && git add dist"
3435
}
3536
}

0 commit comments

Comments
 (0)