浏览代码

chore(scripts): add prepublish script

evshiron 8 年之前
父节点
当前提交
9e574b1092
共有 1 个文件被更改,包括 1 次插入0 次删除
  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",