export-svg-typescript 0.1.3 → 0.1.4

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/package.json +2 -2
  2. package/readme.md +9 -0
package/package.json CHANGED
@@ -3,11 +3,11 @@
3
3
  "description": "Export SVG icons to TypeScript index with tooltips and customizations",
4
4
  "author": "vtempest",
5
5
  "license": "MIT",
6
- "version": "0.1.3",
6
+ "version": "0.1.4",
7
7
  "type": "module",
8
8
  "module": "export-svg-typescript.js",
9
9
  "scripts": {
10
- "demo": "node export-svg-typescript.js ./demo ./demo/index.ts"
10
+ "demo": "node export-svg-typescript.js -i ./demo -o ./demo/index.ts"
11
11
  },
12
12
  "bin": {
13
13
  "export-svg-typescript": "export-svg-typescript.js"
package/readme.md CHANGED
@@ -13,14 +13,23 @@ Global install:
13
13
  npm install -g export-svg-typescript
14
14
  Or add to package.json:
15
15
  ```
16
+ <<<<<<< HEAD
17
+ "icons": "npx export-svg-typescript -i ./src/icons",
18
+ ```
19
+ Or use npx without installing globally with index output file set
20
+ ```
21
+ npx export-svg-typescript -i ./src/icons -o ./src/icons/index.ts
22
+ =======
16
23
  "icons": "npx export-svg-typescript ./src/icons",
17
24
  ```
18
25
  Or use npx without installing globally with index output file set
26
+ >>>>>>> c0be8d9515fa79c37c249ff6f2a0139d15d2f374
19
27
  ```
20
28
  npx export-svg-typescript ./src/icons ./src/icons/index.ts
21
29
  ```
22
30
 
23
31
 
32
+
24
33
  ### Example
25
34
 
26
35
  Clone this repo and run `npm run demo` to see icons in demo folder.