-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
75 lines (75 loc) · 2.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
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
{
"name": "maplibre-contour",
"version": "0.1.0",
"description": "Render contour lines from raster elevation tiles in maplibre-gl-js",
"unpkg": "dist/index.min.js",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
"module": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"browser": "./dist/index.min.js"
},
"scripts": {
"bench": "npm run build && node benchmark.js",
"build": "rm -rf dist && rollup -c && npm run generate-types && tsc --project tsconfig.dist.json",
"test-build-v3": "cd test-project-maplibre-3 && rm -rf node_modules && rm -rf package-lock.json && npm i && npm test",
"test-build": "cd test-project && rm -rf node_modules && rm -rf package-lock.json && npm i && npm test",
"generate-types": "tsc --emitDeclarationOnly --declaration --outDir dist && rm -rf dist/*{.t,-j}est.d.ts",
"jest": "jest",
"jest:watch": "jest --watch",
"test": "run-p typecheck lint jest checkformat",
"lint": "eslint src",
"format": "prettier src --write",
"checkformat": "prettier src --check",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run test && npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/onthegomap/maplibre-contour.git"
},
"type": "module",
"author": "Michael Barry",
"license": "BSD-3-Clause",
"homepage": "https://github.com/onthegomap/maplibre-contour",
"files": [
"build/",
"dist/*",
"src/"
],
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@mapbox/vector-tile": "2.0.3",
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.1.2",
"@types/benchmark": "2.1.5",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.14",
"@types/mapbox__vector-tile": "1.3.4",
"@types/node": "22.10.7",
"@types/pbf": "3.0.5",
"@types/pngjs": "6.0.5",
"benchmark": "2.1.4",
"canvas": "2.11.2",
"eslint": "9.18.0",
"eslint-config-prettier": "10.0.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lodash": "4.17.21",
"npm-run-all": "4.1.5",
"pbf": "4.0.1",
"pngjs": "7.0.0",
"prettier": "3.4.2",
"rollup": "4.30.1",
"ts-jest": "29.2.5",
"typescript": "5.7.3",
"typescript-eslint": "8.21.0",
"whatwg-fetch": "3.6.20"
}
}