-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
115 lines (115 loc) · 3.59 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@watergis/maplibre-gl-terradraw",
"version": "1.0.0",
"description": "This plugin is to add controls to your Maplibre for drawing powered by Terra Draw library.",
"type": "module",
"main": "dist/maplibre-gl-terradraw.umd.js",
"types": "./dist/types/index.d.ts",
"module": "dist/maplibre-gl-terradraw.es.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/maplibre-gl-terradraw.es.js",
"require": "./dist/maplibre-gl-terradraw.umd.js"
},
"./dist/maplibre-gl-terradraw.css": {
"import": "./dist/maplibre-gl-terradraw.css",
"require": "./dist/maplibre-gl-terradraw.css"
}
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"scripts": {
"dev": "vite dev",
"build": "npm run build:doc && npm run package",
"build:doc": "vite build --config vite.config.ts",
"preview": "vite preview",
"package": "npm run package:js && npm run package:css",
"package:js": "tsc --project tsconfig.lib.json && vite build --config vite.lib.config.ts",
"package:scss": "sass --no-source-map --style=compressed src/scss/maplibre-gl-terradraw.scss:dist/maplibre-gl-terradraw.css",
"package:postcss": "postcss dist/*.css -r",
"package:css": "npm run package:scss && npm run package:postcss",
"prepublishOnly": "npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"release": "changeset publish",
"typedoc": "typedoc --entryPointStrategy Expand src/lib --out docs",
"depcruise": "depcruise src/lib --include-only '^src/lib' --output-type dot | dot -T svg > dependency-graph.svg",
"test": "playwright test"
},
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@playwright/test": "^1.49.1",
"@skeletonlabs/skeleton": "^2.10.4",
"@skeletonlabs/tw-plugin": "^0.4.0",
"@sveltejs/adapter-auto": "^4.0.0",
"@sveltejs/kit": "^2.16.1",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16",
"@turf/area": "^7.2.0",
"@turf/centroid": "^7.2.0",
"@turf/distance": "^7.2.0",
"@types/eslint": "^9.6.1",
"@types/node": "^22.10.7",
"autoprefixer": "^10.4.20",
"dependency-cruiser": "^16.9.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-svelte": "^2.46.1",
"globals": "^15.14.0",
"highlight.js": "^11.11.1",
"lefthook": "^1.10.10",
"maplibre-gl": "^5.0.1",
"postcss": "^8.5.1",
"postcss-cli": "^11.0.0",
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.3",
"publint": "^0.3.2",
"sass": "^1.83.4",
"sass-embedded": "^1.83.4",
"svelte": "^5.19.1",
"svelte-check": "^4.1.4",
"tailwindcss": "^3.4.17",
"terra-draw": "^1.0.0",
"terra-draw-maplibre-gl-adapter": "^1.0.1",
"typedoc": "^0.27.6",
"typescript": "^5.7.3",
"typescript-eslint": "^8.21.0",
"vite": "^6.0.11"
},
"peerDependencies": {
"maplibre-gl": "^4.0.0 || ^5.0.0",
"terra-draw": "^1.0.0",
"terra-draw-maplibre-gl-adapter": "^1.0.0"
},
"peerDependenciesMeta": {
"terradraw": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/watergis/maplibre-gl-terradraw.git"
},
"keywords": [
"maplibre-gl-js",
"terra-draw",
"drawing"
],
"author": "Jin IGARASHI",
"license": "MIT",
"bugs": {
"url": "https://github.com/watergis/maplibre-gl-terradraw/issues"
},
"homepage": "https://github.com/watergis/maplibre-gl-terradraw#readme",
"packageManager": "pnpm@9.15.4",
"engines": {
"pnpm": "^9.0.0"
}
}