diff --git a/package.json b/package.json index bb817d7..288c7a4 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "prettier": "prettier --check src/js tests/js", "test": "nyc --reporter=text mocha --recursive --bail tests/js", "transpile": "tsc -p tsconfig-transpile.json", - "build:constants": "node scripts/build_constants.js" + "build:constants": "node scripts/build_constants.js", + "prepublishOnly": "npm run transpile" }, "author": "Exabyte Inc.", "license": "ISC",