瀏覽代碼

build on just version, not publish. npm uploads should match version

gh-pages
Gregor MacLennan 9 年之前
父節點
當前提交
94c654abdf
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      package.json

+ 1
- 2
package.json 查看文件

@@ -19,8 +19,7 @@
19 19
   "scripts": {
20 20
     "build": "browserify index.js > leaflet-side-by-side.js",
21 21
     "postbuild": "uglifyjs leaflet-side-by-side.js -cm -o leaflet-side-by-side.min.js",
22
-    "prepublish": "npm test && npm run build",
23
-    "preversion": "npm run prepublish",
22
+    "preversion": "npm test && npm run build",
24 23
     "lint": "standard index.js",
25 24
     "start": "budo index.js:leaflet-side-by-side.js --live",
26 25
     "test": "npm run lint"

Loading…
取消
儲存