fontmin-rs 1.0.0 → 1.0.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/README.md CHANGED
@@ -22,6 +22,22 @@ fontmin-rs build fonts/roboto.ttf \
22
22
  See the [documentation](https://fontmin-rs.ntnyq.dev/) for the Node.js API,
23
23
  CLI configuration, browser WASM runtime, and migration guides.
24
24
 
25
+ ## JSON Schema
26
+
27
+ The package includes a JSON Schema for `fontmin.config.json` and
28
+ `fontmin.config.jsonc`:
29
+
30
+ ```jsonc
31
+ {
32
+ "$schema": "./node_modules/fontmin-rs/configuration_schema.json",
33
+ "input": ["fonts/*.ttf"],
34
+ "outDir": "build",
35
+ }
36
+ ```
37
+
38
+ Use `defineConfig()` for type checking and completion in executable TypeScript
39
+ or JavaScript configuration files.
40
+
25
41
  ## License
26
42
 
27
43
  [MIT](https://github.com/fontmin-rs/fontmin-rs/blob/main/LICENSE)