@flanksource/facet-cli 0.0.0

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.
Files changed (2) hide show
  1. package/README.md +18 -0
  2. package/package.json +29 -0
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # @flanksource/facet-cli
2
+
3
+ The `facet` command-line tool — generate print-ready PDFs and HTML from React
4
+ templates.
5
+
6
+ ```bash
7
+ npm install -g @flanksource/facet-cli
8
+ ```
9
+
10
+ This installs the `facet` command, which runs on your Node.js (>=18). Rendering
11
+ additionally needs `pnpm` on PATH (to install template dependencies) and, for
12
+ PDF output, a system Chrome/Chromium. Run `facet doctor` to check your
13
+ environment.
14
+
15
+ For an environment without Node.js, download a standalone binary from
16
+ [GitHub Releases](https://github.com/flanksource/facet/releases).
17
+
18
+ See the [project README](https://github.com/flanksource/facet#readme) for usage.
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@flanksource/facet-cli",
3
+ "version": "0.0.0",
4
+ "description": "CLI for @flanksource/facet — generate print-ready PDFs and HTML from React templates",
5
+ "bin": {
6
+ "facet": "facet.cjs"
7
+ },
8
+ "files": [
9
+ "facet.cjs",
10
+ "assets/"
11
+ ],
12
+ "keywords": [
13
+ "facet",
14
+ "pdf",
15
+ "datasheet",
16
+ "react",
17
+ "cli"
18
+ ],
19
+ "author": "Flanksource",
20
+ "license": "Apache-2.0",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/flanksource/facet.git"
24
+ },
25
+ "homepage": "https://github.com/flanksource/facet#readme",
26
+ "engines": {
27
+ "node": ">=18"
28
+ }
29
+ }