@pwrs/cem 0.0.6 → 0.1.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 +10 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -72,10 +72,17 @@ Group](https://tr.designtokens.org/format/) format module (JSON) to `cem` via th
72
72
 
73
73
  ## Installation
74
74
 
75
+ For go binaries:
75
76
  ```sh
76
77
  go install bennypowers.dev/cem@latest
77
78
  ```
78
79
 
80
+ For NPM projects:
81
+
82
+ ```sh
83
+ npm install --save-dev @pwrs/cem
84
+ ```
85
+
79
86
  Or clone this repository and build from source:
80
87
 
81
88
  ```sh
@@ -96,6 +103,9 @@ cem generate \
96
103
  --output custom-elements.json
97
104
  ```
98
105
 
106
+ for npm projects you can use `npx @pwrs/cem generate ...`, just be sure to
107
+ install the package first.
108
+
99
109
  - `generate`: Command to start manifest generation.
100
110
  - Accepts file paths and glob patterns.
101
111
  - `--design-tokens`: path to tokens file or npm:package specifier
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pwrs/cem",
3
- "version": "0.0.6",
3
+ "version": "0.1.0",
4
4
  "description": "CLI tool for generating and working with Custom Elements Manifests",
5
5
  "type": "module",
6
6
  "engines": {