-
Notifications
You must be signed in to change notification settings - Fork 433
/
package.json
87 lines (87 loc) · 2.3 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "@geoman-io/leaflet-geoman-free",
"version": "2.17.0",
"description": "A Leaflet Plugin For Editing Geometry Layers in Leaflet 1.0",
"keywords": [
"leaflet",
"geoman",
"polygon management",
"geometry editing",
"map data",
"map overlay",
"polygon",
"geojson",
"leaflet-draw",
"data-field-geojson",
"ui-leaflet-draw"
],
"files": [
"dist"
],
"main": "dist/leaflet-geoman.js",
"types": "dist/leaflet-geoman.d.ts",
"dependencies": {
"@turf/boolean-contains": "^6.5.0",
"@turf/kinks": "^6.5.0",
"@turf/line-intersect": "^6.5.0",
"@turf/line-split": "^6.5.0",
"lodash": "4.17.21",
"polyclip-ts": "^0.16.5"
},
"devDependencies": {
"@types/leaflet": "^1.9.12",
"cross-env": "^7.0.3",
"cypress": "^13.11.0",
"esbuild": "^0.20.2",
"eslint": "8.56.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-import": "2.29.1",
"husky": "^9.0.11",
"leaflet": "1.9.3",
"lint-staged": "^15.2.5",
"prettier": "3.2.4",
"prosthetic-hand": "1.3.1",
"ts-node": "^10.9.2"
},
"peerDependencies": {
"leaflet": "^1.2.0"
},
"scripts": {
"start": "pnpm run dev",
"dev": "cross-env DEV=true ts-node bundle.mjs",
"build": "ts-node bundle.mjs",
"test": "cypress run --browser chrome",
"cypress": "cypress open",
"prepare": "pnpm run build && husky",
"eslint-check": "eslint --print-config . | eslint-config-prettier-check",
"eslint": "eslint \"{src,demo}/**/*.js\" --fix ",
"prettier": "prettier --write \"{src,demo}/**/*.{js,css}\" --log-level=warn",
"lint": "pnpm run eslint && pnpm run prettier"
},
"repository": {
"type": "git",
"url": "git://github.com/geoman-io/leaflet-geoman.git"
},
"author": {
"name": "Geoman.io",
"email": "sales@geoman.io",
"url": "http://geoman.io"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/geoman-io/leaflet-geoman/issues"
},
"homepage": "https://geoman.io",
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
},
"lint-staged": {
"*.js": "eslint \"{src,demo}/**/*.js\" --fix",
"*.{js,css,md}": "prettier --write \"{src,demo}/**/*.{js,css}\""
}
}