forked from maplibre/maplibre-gl-directions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.42 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
{
"name": "@maplibre/maplibre-gl-directions",
"version": "0.7.0",
"license": "MIT",
"homepage": "https://maplibre.org/maplibre-gl-directions/#/",
"repository": "https://github.com/maplibre/maplibre-gl-directions",
"keywords": [
"directions",
"osrm",
"routing",
"mapbox",
"maplibre"
],
"files": [
"dist"
],
"module": "./dist/maplibre-gl-directions.js",
"types": "./dist/src/main.d.ts",
"type": "module",
"prettier": {
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"trailingComma": "all",
"bracketSpacing": true,
"printWidth": 120,
"plugins": [
"prettier-plugin-svelte"
],
"svelteSortOrder": "options-scripts-markup-styles",
"svelteStrictMode": false,
"svelteIndentScriptAndStyle": true
},
"scripts": {
"prepare": "husky install",
"env:prep": "npm run build:lib && npm link && npm link @maplibre/maplibre-gl-directions",
"dev:lib": "npm run check:lib && npm run tsc:lib && vite build --watch --mode development --config vite.lib.config.ts",
"dev:doc": "typedoc --tsconfig tsconfig.lib.json --watch",
"dev:demo": "npm run check:demo && npm run tsc:demo && vite --config vite.demo.config.ts",
"build": "npm run lint && npm run build:lib && npm run build:doc && npm run build:demo",
"build:lib": "npm run check:lib && npm run tsc:lib && vite build --config vite.lib.config.ts",
"build:doc": "typedoc --tsconfig tsconfig.lib.json",
"build:demo": "npm run check:demo && npm run tsc:demo && vite build --config vite.demo.config.ts --base /maplibre-gl-directions/",
"format": "prettier --write .",
"prelint": "npm run format",
"tsc:lib": "tsc --project ./tsconfig.lib.json",
"tsc:lib:watch": "npm run tsc:lib -- --watch",
"tsc:demo": "tsc --project ./tsconfig.json",
"tsc:demo:watch": "npm run tsc:demo -- --watch",
"lint": "eslint --fix './{demo,src}/**/*.{ts,js,cjs,svelte}'",
"check:lib": "svelte-check --tsconfig ../tsconfig.lib.json --workspace src",
"check:demo": "svelte-check --tsconfig ../tsconfig.json --workspace demo",
"check": "npm run lint && npm run check:lib && npm run check:demo"
},
"lint-staged": {
"./{src,demo}/**/*.{ts,js,cjs,svelte}": [
"npm run check"
]
},
"dependencies": {
"@placemarkio/polyline": "^1.2.0",
"nanoid": "^5.0.6"
},
"peerDependencies": {
"maplibre-gl": "^4.0.0"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^2.5.3",
"@tailwindcss/forms": "^0.5.7",
"@tsconfig/svelte": "^5.0.4",
"@types/geojson": "^7946.0.13",
"@types/lodash": "^4.17.0",
"@types/mapbox__point-geometry": "^0.1.4",
"@types/mapbox__vector-tile": "^1.3.4",
"@types/node": "^16",
"@typescript-eslint/parser": "^7.7.0",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.56.0",
"eslint-plugin-svelte": "^2.35.1",
"husky": "^9.0.11",
"lint-staged": "^15.2.0",
"lodash": "^4.17.21",
"maplibre-gl": "^4.1.3",
"postcss": "^8.4.38",
"postcss-load-config": "^5.0.3",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.2.2",
"rollup-plugin-visualizer": "^5.9.2",
"svelte": "^4.2.8",
"svelte-check": "^3.6.8",
"svelte-preprocess": "^5.0.4",
"svelte-spa-router": "^3.3.0",
"tailwindcss": "^3.4.3",
"tslib": "^2.6.2",
"typedoc": "^0.24.8",
"typescript": "^5.1.6",
"vite": "^4.5.3"
}
}