build before npm test

This commit is contained in:
Miguel Mota 2019-03-29 20:13:48 -07:00
parent 356df29d5a
commit 0d04ad8c93
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "typings/merkletreejs/*",
"scripts": {
"test": "tape test/*.js",
"test": "npm run build && tape test/*.js",
"build": "rm -rf dist/ && tsc",
"docs:md": "node jsdoc.js"
},