Browse Source

build: add pretest script to create TS definitions (#38201)

David Sanders 1 year ago
parent
commit
911900eae9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -109,6 +109,7 @@
     "preinstall": "node -e 'process.exit(0)'",
     "prepack": "check-for-leaks",
     "prepare": "husky install",
+    "pretest": "npm run create-typescript-definitions",
     "repl": "node ./script/start.js --interactive",
     "start": "node ./script/start.js",
     "test": "node ./script/spec-runner.js",