From d55a33fee27bd66a7a1ca18c2c3dc3b1c1c6408f Mon Sep 17 00:00:00 2001 From: Trezy Date: Wed, 12 Jan 2022 09:42:00 -0600 Subject: [PATCH] fix(types): add type construction to publishing pipeline fixes #30 --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d3d28d6..26e76d3 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,9 @@ "types": "types/types.d.ts", "scripts": { "build-types": "jsdoc -t node_modules/tsd-jsdoc/dist -r lib/. -d types", - "test": "jest", - "semantic-release": "semantic-release" + "prepublish": "yarn build-types", + "semantic-release": "semantic-release", + "test": "jest" }, "peerDependencies": { "next": "^9.5.0 || ^10.2.1 || ^11.1.0"