-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
55 lines (55 loc) · 1.5 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
{
"name": "@mapbox/tilebelt",
"version": "2.0.2",
"description": "simple tile utilities",
"type": "module",
"files": [
"/dist"
],
"exports": {
".": {
"require": {
"default": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts"
},
"import": {
"default": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
}
}
},
"scripts": {
"test": "vitest --config ./vitest.config.ts --coverage run",
"bench": "tsx test/bench.ts",
"format": "prettier src test --write --single-quote",
"clean": "rm -rf ./dist",
"prepublishOnly": "npm run build",
"build-cjs": "tsc -p . --module commonjs --outDir ./dist/cjs && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
"build-esm": "tsc -p . --module nodenext --outDir ./dist/esm && echo '{\"type\": \"module\"}' > ./dist/esm/package.json",
"build": "npm run clean && npm run build-cjs && npm run build-esm"
},
"repository": {
"type": "git",
"url": "https://github.com/mapbox/tilebelt.git"
},
"keywords": [
"tile",
"map",
"geojson"
],
"author": "morganherlocker",
"license": "MIT",
"bugs": {
"url": "https://github.com/mapbox/tilebelt/issues"
},
"homepage": "https://github.com/mapbox/tilebelt",
"devDependencies": {
"@types/geojson": "^7946.0.14",
"@vitest/coverage-v8": "^2.1.2",
"benchmarkify": "^4.0.0",
"prettier": "^3.3.3",
"tsx": "^4.19.2",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
}
}