Browse Source

Make sure that it is rebuild before publishing

Godzil 6 years ago
parent
commit
c642e76cce
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -39,6 +39,7 @@
     "typescript": "^2.6.2"
   },
   "scripts": {
+    "prepublishOnly": "npm run build",
     "build": "tsc",
     "test": "tslint -c ./tslint.json --project ./tsconfig.json ./src/**/*.ts",
     "start": "node ./bin/crunchy"