Explorar el Código

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

gh-pages
Gregor MacLennan hace 9 años
padre
commit
94c654abdf
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1
    2
      package.json

+ 1
- 2
package.json Ver fichero

@@ -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…
Cancelar
Guardar