diff --git a/package.json b/package.json index 30664c7d..9f4a5786 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "test": "jest", "coverage": "jest --coverage", "generateSchema": "ts-json-schema-generator -p 'src/**/*.ts' -t '*' > schema.json", - "prepublishOnly": "tsc && generateSchema" + "prepublishOnly": "tsc && yarn generateSchema" }, "files": [ "api",