Browse Source

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

gh-pages
Gregor MacLennan 9 years ago
parent
commit
94c654abdf
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      package.json

+ 1
- 2
package.json View File

@@ -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…
Cancel
Save