-
Notifications
You must be signed in to change notification settings - Fork 126
/
package.json
46 lines (46 loc) · 1.31 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "leaflet-minimap",
"version": "3.6.1",
"author": "Norkart AS",
"description": "A plugin for Leaflet that provides a minimap in the corner of the map view.",
"keywords": [
"maps",
"leaflet",
"client",
"minimap"
],
"license": "BSD-2-Clause",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "https://github.com/Norkart/Leaflet-MiniMap.git"
},
"main": "dist/Control.MiniMap.min.js",
"homepage": "https://github.com/Norkart/Leaflet-MiniMap",
"bugs": {
"url": "https://github.com/Norkart/Leaflet-MiniMap/issues"
},
"devDependencies": {
"clean-css": "3.0.7",
"happiness": "^1.0.7",
"leaflet": ">=1.0.3",
"ncp": "1.0.1",
"svg2png": "1.1.0",
"svgo": "0.5.0",
"uglify-js": "2.6.0"
},
"scripts": {
"build:js": "uglifyjs --output dist/Control.MiniMap.min.js src/Control.MiniMap.js",
"build:css": "cleancss --skip-rebase --output dist/Control.MiniMap.min.css src/Control.MiniMap.css",
"build:img": "svgo src/images/toggle.svg dist/images/toggle.svg && node buildscripts/svgtopng.js",
"build": "npm run build:css && npm run build:js && npm run build:img",
"test": "happiness src/**/*.js",
"preversion": "npm test && npm run build"
},
"happiness": {
"globals": [
"define",
"L"
]
}
}