Selaa lähdekoodia

chore(scripts): add prepublish script

evshiron 8 vuotta sitten
vanhempi
commit
9e574b1092
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -8,6 +8,7 @@
     "run": "./dist/bin/run.js"
   },
   "scripts": {
+    "prepublish": "npm run build",
     "test": "npm run build && ava",
     "coverage": "nyc ava",
     "build": "tsc",