Pārlūkot izejas kodu

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

gh-pages
Gregor MacLennan 9 gadus atpakaļ
vecāks
revīzija
94c654abdf
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1
    2
      package.json

+ 1
- 2
package.json Parādīt failu

@@ -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"

Notiek ielāde…
Atcelt
Saglabāt