File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 29
29
"serve:chromium" : " web-ext run -t chromium -s dist" ,
30
30
"bundle" : " web-ext build -s dist -a out --overwrite-dest -n replace_maps.zip" ,
31
31
"bump-manifest" : " sh scripts/bump.sh" ,
32
- "release" : " npm run format:fix; release-it"
32
+ "release" : " release-it"
33
33
},
34
34
"devDependencies" : {
35
35
"@types/leaflet" : " ^1.9.8" ,
58
58
"releaseName" : " v${version}"
59
59
},
60
60
"hooks" : {
61
+ "before:init" : [
62
+ " npm run format" ,
63
+ " npm test"
64
+ ],
61
65
"after:bump" : " npm run bump-manifest && npx changelogen@latest --no-commit --no-tag --output -r $(node -p \" require('./package.json').version\" )"
62
66
}
63
67
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const precision: number = 10;
4
4
/**
5
5
* Converts *altitude over the map* to *zoom level of the map*
6
6
* TODO: Should be rewritten!!!
7
- *
7
+ *
8
8
* Reference: https://groups.google.com/g/google-earth-browser-plugin/c/eSL9GlAkWBk/m/T4mdToJz_FgJ
9
9
* @param alt Altitude as number
10
10
* @returns Zoom level between 0 and 19
You can’t perform that action at this time.
0 commit comments