-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
58 lines (58 loc) · 1.86 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
{
"name": "@ninanor/maplibre-gl-cog",
"version": "0.0.2",
"description": "Maplibre protocol to handle cloud optimized geotiff",
"author": "[email protected]",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"files": [
"dist",
"src"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"scripts": {
"commit": "git-cz",
"build-iife": "esbuild src/index.ts --outfile=dist/index.js --target=es6 --global-name=maplibreglCOG --bundle --format=iife",
"build-esm": "esbuild src/index.ts --outfile=dist/index.mjs --target=es6 --global-name=maplibreglCOG --bundle --format=esm",
"build-cjs": "esbuild src/index.ts --outfile=dist/index.cjs --target=es6 --global-name=maplibreglCOG --bundle --format=cjs",
"build-tsc": "tsc --declaration --emitDeclarationOnly --outdir dist",
"build": "npm run build-iife && npm run build-esm && npm run build-cjs && npm run build-tsc",
"tsc": "tsc --noEmit --watch",
"prettier": "prettier --write src/*.ts",
"prettier-check": "prettier --check src/*.ts",
"prepare": "npm run build && (is-ci || npx husky install)",
"release": "standard-version",
"postrelease": "git push --follow-tags"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@types/node": "^18.11.9",
"commitizen": "^4.2.4",
"conventional-github-releaser": "^3.1.5",
"esbuild": "^0.15.11",
"esbuild-runner": "^2.2.1",
"husky": "^7.0.0",
"is-ci": "^3.0.0",
"lint-staged": "^9.5.0",
"prettier": "^2.8.4",
"standard-version": "^9.3.1",
"typescript": "^4.5.5"
},
"lint-staged": {
"./src/*.ts": [
"prettier --write src/*"
]
},
"dependencies": {
"fast-png": "^6.2.0",
"geotiff": "^2.1.0"
}
}