Skip to content

Commit b000f77

Browse files
Add prepublishOnly script
1 parent 6bc8e7f commit b000f77

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
@@ -17,7 +17,8 @@
1717
"scripts": {
1818
"build": "tsc && rollup -c rollup.config.js",
1919
"build-dev": "rollup -c rollup.config.js -w",
20-
"eslint": "eslint src/"
20+
"eslint": "eslint src/",
21+
"prepublishOnly": "npm run build"
2122
},
2223
"repository": {
2324
"type": "git",

0 commit comments

Comments
 (0)