-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
47 lines (47 loc) · 1.44 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
47
{
"name": "Leaflet.Deflate",
"author": "Oliver Roick",
"version": "2.1.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",
"types": "types/index.d.ts",
"directories": {
"test": "tests",
"lib": "src",
"example": "example"
},
"devDependencies": {
"@types/leaflet": "^1.5.12",
"@types/leaflet.markercluster": "^1.4.2",
"eslint": "8.17.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.18.2",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.2.2",
"leaflet": "^1.7.1",
"terser": "^5.2.1",
"typescript": "^4.0.5"
},
"peerDependencies": {
"leaflet": "^1.0.0"
},
"scripts": {
"test": "jest",
"dist": "terser --output dist/L.Deflate.js src/L.Deflate.js --source-map",
"lint": "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"
},
"jest": {
"testEnvironment": "jsdom"
}
}