|
|
|
|
19
|
"scripts": {
|
19
|
"scripts": {
|
20
|
"build": "browserify index.js > leaflet-side-by-side.js",
|
20
|
"build": "browserify index.js > leaflet-side-by-side.js",
|
21
|
"postbuild": "uglifyjs leaflet-side-by-side.js -cm -o leaflet-side-by-side.min.js",
|
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
|
"lint": "standard index.js",
|
23
|
"lint": "standard index.js",
|
25
|
"start": "budo index.js:leaflet-side-by-side.js --live",
|
24
|
"start": "budo index.js:leaflet-side-by-side.js --live",
|
26
|
"test": "npm run lint"
|
25
|
"test": "npm run lint"
|