This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
forked from protomaps/protomaps-leaflet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.06 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
{
"name": "@feltmaps/protomaps",
"version": "1.13.8",
"files": [
"dist",
"src"
],
"main": "dist/protomaps.js",
"module": "dist/protomaps.module.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"devDependencies": {
"baretest": "^2.0.0",
"lint-staged": "^11.2.3",
"prettier": "2.4.1",
"semantic-release": "^18.0.0"
},
"dependencies": {
"@mapbox/point-geometry": "^0.1.0",
"@mapbox/unitbezier": "^0.0.0",
"@mapbox/vector-tile": "^1.3.1",
"color2k": "^1.2.4",
"esbuild": "^0.12.15",
"esbuild-runner": "^2.2.0",
"flatqueue": "^1.2.1",
"husky": "^7.0.2",
"pbf": "^3.2.1",
"pmtiles": "^0.2",
"polygon-clipping": "^0.15.3",
"polylabel": "^1.1.0",
"protosprites": "0.2.0",
"rbush": "^3.0.1",
"tslib": "^2.3.0",
"typescript": "^4.3.5"
},
"scripts": {
"dev": "esbuild src/index.ts --bundle --target=es2015 --servedir=. --outfile=dist/protomaps.js --global-name=protomaps",
"build": "esbuild src/index.ts --bundle --target=es2015 --outfile=dist/protomaps.js --global-name=protomaps",
"build-min": "esbuild src/index.ts --bundle --target=es2015 --minify --outfile=dist/protomaps.min.js --global-name=protomaps",
"build-module": "esbuild src/index.ts --bundle --target=es2015 --outfile=dist/protomaps.module.js --format=esm",
"build-tsc": "tsc --declaration --outdir dist",
"tsc": "tsc --noEmit --watch",
"test": "node -r esbuild-runner/register test/index.ts",
"dist": "npm run build && npm run build-min && npm run build-module && npm run build-tsc",
"prettier": "npx prettier --write .",
"serve": "npx serve .",
"prepare": "husky install",
"semantic-release": "semantic-release",
"prepublishOnly": "npm run dist"
},
"repository": {
"type": "git",
"url": "git://github.com/felt/protomaps.js.git"
},
"keywords": [
"gis",
"map"
],
"license": "BSD-3-Clause",
"publishConfig": {
"access": "public",
"branches": [
"master"
]
},
"lint-staged": {
"*.{ts,js,css,md}": "prettier --write"
}
}