@ca-plant-list/ca-plant-list 0.4.4 → 0.4.8

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/.prettierrc CHANGED
@@ -1 +1,3 @@
1
- {}
1
+ {
2
+ "tabWidth": 4
3
+ }
@@ -1,12 +1,4 @@
1
1
  {
2
2
  "editor.formatOnSave": true,
3
- "editor.defaultFormatter": "esbenp.prettier-vscode",
4
- "prettier.tabWidth": 4,
5
- "json.schemas": [
6
- {
7
- "fileMatch": ["**/exceptions.json"],
8
- "url": "./schemas/exceptions.schema.json"
9
- }
10
- ],
11
- "editor.tabSize": 2
3
+ "eslint.validate": ["javascript", "typescript"]
12
4
  }
package/README.md CHANGED
@@ -1 +1,27 @@
1
- This module contains tools for producing Jekyll files to create a set of static HTML pages with information about plants growing in the wild in areas of California.
1
+ # ca-plant-list
2
+
3
+ This module contains tools and data for producing Jekyll files to create a set of static HTML pages with information about plants growing in the wild in areas of California.
4
+
5
+ While this is primarily meant as a dependency for other projects building static sites of CA plants, the default config will let you build a site:
6
+
7
+ ```zsh
8
+ # Install Ruby dependencies
9
+ bundle
10
+
11
+ # Install node dependencies
12
+ npm install
13
+
14
+ # Build the site
15
+ node scripts/build-site.js
16
+
17
+ # Start a web server
18
+ bundle exec jekyll serve --config output/_config.yml -s output
19
+ ```
20
+
21
+ You can even build an ebook!
22
+
23
+ ```zsh
24
+ node scripts/build-ebook.js
25
+
26
+ # ebook is at output/ebplants.epub
27
+ ```
package/data/config.json CHANGED
@@ -12,5 +12,10 @@
12
12
  "introduced": "Introduced to the East Bay",
13
13
  "native": "Native to the East Bay",
14
14
  "status-NC": "California native introduced to the East Bay"
15
+ },
16
+ "ebook": {
17
+ "filename": "ebplants",
18
+ "pub_id": "ebplants",
19
+ "title": "East Bay Plants"
15
20
  }
16
21
  }