Skip to content

Commit 77441e6

Browse files
committed
chore: added prepublish hook
1 parent 84b5ec6 commit 77441e6

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
@@ -14,7 +14,8 @@
1414
"test:cover": "jest --coverage",
1515
"lint": "eslint . '**/*.{js,jsx,ts,tsx}' --fix",
1616
"ts:defs": "./scripts/defs.sh",
17-
"build": "node ./scripts/build && npm run ts:defs"
17+
"build": "node ./scripts/build && npm run ts:defs",
18+
"prepublish-lib": "npm run build"
1819
},
1920
"author": "Abdelrahman Awad <[email protected]>",
2021
"license": "MIT",

0 commit comments

Comments
 (0)