Skip to content

Commit e89977f

Browse files
authored
chore: add prepare script (googleapis#163)
Ensure that javascript output exist before the package gets published.
1 parent 77fd87e commit e89977f

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
@@ -69,7 +69,8 @@
6969
"test": "npm run lint && npm run build && npm run check-format && npm run coverage",
7070
"coveralls": "istanbul cover -x 'apis/**' _mocha --report lcovonly -- --reporter spec --timeout 4000 && cat coverage/lcov.info | coveralls",
7171
"build": "tsc",
72-
"clean": "rm -rf lib test types"
72+
"clean": "rm -rf lib test types",
73+
"prepare": "npm run build"
7374
},
7475
"license": "Apache-2.0"
7576
}

0 commit comments

Comments
 (0)