forked from oliverroick/Leaflet.Deflate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.34 KB
/
Copy pathpackage.json
File metadata and controls
40 lines (40 loc) · 1.34 KB
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
{
"name": "Leaflet.Deflate",
"author": "Oliver Roick",
"version": "1.2.0",
"description": "Deflates lines and polygons to a marker when their screen size becomes too small in lower zoom levels.",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git://github.com/oliverroick/Leaflet.Deflate"
},
"homepage": "https://github.com/oliverroick/Leaflet.Deflate",
"bugs": "https://github.com/oliverroick/Leaflet.Deflate/issues",
"main": "dist/L.Deflate.js",
"source": "src/L.Deflate.js",
"directories": {
"test": "tests",
"lib": "src",
"example": "example"
},
"devDependencies": {
"eslint": "6.7.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"mocha": "6.2.2",
"mocha-chrome": "^2.2.0",
"should": "13.2.3",
"terser": "^4.6.3"
},
"peerDependencies": {
"leaflet": "^1.0.0"
},
"scripts": {
"test": "./node_modules/.bin/mocha-chrome tests/testrunner.html",
"dist": "./node_modules/.bin/terser --output dist/L.Deflate.js src/L.Deflate.js --source-map",
"lint": "./node_modules/.bin/eslint src tests",
"preversion": "if [[ \"$(git rev-parse --abbrev-ref HEAD)\" != \"master\" ]]; then echo \"Not on master\" && exit 1; fi",
"version": "npm run dist && git add -A ./dist",
"postversion": "git push && git push --tags"
}
}