@ca-plant-list/ca-plant-list 0.1.22 → 0.2.1
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/data/config.json +16 -0
- package/data/exceptions.json +1 -0
- package/data/photos.csv +6 -0
- package/data/synonyms.csv +1970 -0
- package/data/taxa.csv +1828 -0
- package/data/text/Leptosiphon-bicolor.md +1 -0
- package/data/text/Leptosiphon-ciliatus.md +1 -0
- package/data/text/Leptosiphon-grandiflorus.md +1 -0
- package/data/text/Lupinus-bicolor.md +1 -0
- package/data/text/Lupinus-nanus.md +1 -0
- package/ebook/css/main.css +59 -0
- package/lib/dataloader.js +19 -1
- package/lib/ebook/ebook.js +146 -0
- package/lib/ebook/ebookpage.js +43 -0
- package/lib/ebook/image.js +21 -0
- package/lib/ebook/pages/taxonpage.js +77 -0
- package/lib/ebook/pages/tocpage.js +30 -0
- package/lib/ebook/plantbook.js +122 -0
- package/lib/ebook/xhtml.js +7 -0
- package/lib/files.js +4 -0
- package/lib/genera.js +1 -1
- package/lib/html.js +5 -2
- package/lib/index.d.ts +192 -0
- package/lib/index.js +4 -3
- package/lib/taxa.js +49 -34
- package/lib/taxon.js +26 -8
- package/package.json +8 -2
- package/scripts/build-ebook.js +12 -0
- package/{build-site.js → scripts/build-site.js} +3 -3
- package/tsconfig.json +0 -14
package/data/config.json
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
{
|
2
|
+
"calflora": {
|
3
|
+
"counties": [
|
4
|
+
"ALA",
|
5
|
+
"CCA"
|
6
|
+
]
|
7
|
+
},
|
8
|
+
"inat": {
|
9
|
+
"project": "ebcnps"
|
10
|
+
},
|
11
|
+
"labels": {
|
12
|
+
"introduced": "Introduced to the East Bay",
|
13
|
+
"native": "Native to the East Bay",
|
14
|
+
"status-NC": "California native introduced to the East Bay"
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{}
|
package/data/photos.csv
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
taxon_name,source,license,credit
|
2
|
+
Calochortus argillosus,https://inaturalist-open-data.s3.amazonaws.com/photos/210002711/original.jpg,,"(c) skfork, some rights reserved (CC BY-NC)"
|
3
|
+
Calochortus luteus,https://inaturalist-open-data.s3.amazonaws.com/photos/257812293/original.jpg,,"(c) eeneill, some rights reserved (CC BY-NC)"
|
4
|
+
Calochortus venustus,https://inaturalist-open-data.s3.amazonaws.com/photos/268338027/original.jpg,,"(c) Gena Bentall, some rights reserved (CC BY-NC)"
|
5
|
+
Ceanothus cuneatus,https://inaturalist-open-data.s3.amazonaws.com/photos/266280254/original.jpg,,"(c) Ixchel Gonzalez-Ramirez, some rights reserved (CC BY-NC)"
|
6
|
+
Claytonia gypsophiloides,https://inaturalist-open-data.s3.amazonaws.com/photos/268277390/original.jpeg,,"(c) Christian Naventi, some rights reserved (CC BY-NC)"
|