@metoceanapi/wxtiles-common 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.txt ADDED
@@ -0,0 +1,15 @@
1
+ WxTiles Leaflet - Weather Tiles
2
+ Copyright (C) 2022 Meteorological Service of New Zealand Limited
3
+
4
+ This program is free software: you can redistribute it and/or modify
5
+ it under the terms of the GNU General Public License as published by
6
+ the Free Software Foundation, either version 3 of the License, or
7
+ (at your option) any later version.
8
+
9
+ This program is distributed in the hope that it will be useful,
10
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ GNU General Public License for more details.
13
+
14
+ You should have received a copy of the GNU General Public License
15
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
package/README.md ADDED
@@ -0,0 +1,12 @@
1
+ # WxTiles Common
2
+ Common resources shared by wxtiles mapbox and leaflet packages
3
+
4
+ ## Run Locally
5
+
6
+ [biome](https://biomejs.dev/guides/getting-started/) is used for linting and formatting
7
+
8
+ To use the pre-commit git hook copy the sample hook
9
+ ```bash
10
+ cp hooks/pre-commit .git/hooks/pre-commit
11
+ chmod a+x .git/hooks/pre-commit
12
+ ```
Binary file
Binary file
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@metoceanapi/wxtiles-common",
3
+ "version": "0.0.4",
4
+ "description": "Common resources shared by wxtiles mapbox and leaflet packages.",
5
+ "main": "index.js",
6
+ "private": false,
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "prepare": "husky"
10
+ },
11
+ "author": "MetOcean",
12
+ "license": "ISC",
13
+ "devDependencies": {
14
+ "git-format-staged": "^3.1.1",
15
+ "husky": "^9.1.6"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/metoceanapi/wxtiles-common.git"
20
+ },
21
+ "keywords": [
22
+ "common"
23
+ ],
24
+ "bugs": {
25
+ "url": "https://github.com/metoceanapi/wxtiles-common/issues"
26
+ },
27
+ "homepage": "https://github.com/metoceanapi/wxtiles-common#readme",
28
+ "files": [
29
+ "wxtiles.css",
30
+ "fonts/*.woff"
31
+ ]
32
+ }
package/wxtiles.css ADDED
@@ -0,0 +1,8 @@
1
+ @font-face {
2
+ font-family: arrows;
3
+ src: url('fonts/arrows.woff');
4
+ }
5
+ @font-face {
6
+ font-family: barbs;
7
+ src: url('fonts/barbs.woff');
8
+ }