x3d-tidy 1.0.1 → 1.0.3

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
@@ -2,8 +2,14 @@
2
2
 
3
3
  X3D converter, beautifier and minimizer
4
4
 
5
+ ## Installation
6
+
7
+ ```sh
8
+ $ npm i x3d-tidy
9
+ ```
10
+
5
11
  ## Usage
6
12
 
7
13
  ```sh
8
- $ npx . -i file.x3d -o file.x3dv
14
+ $ npx x3d-tidy -i file.x3d -o file.x3dv
9
15
  ```
package/bin/x3d-tidy.js CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env node
2
+ const path = require ("path")
2
3
  const { execFile } = require ("child_process")
3
4
 
4
- execFile ("electron", [".", ... process .argv], (error, stdout, stderr) =>
5
+ execFile ("electron", [path .resolve (__dirname, ".."), ... process .argv], (error, stdout, stderr) =>
5
6
  {
6
7
  if (error)
7
8
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x3d-tidy",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "X3D Converter, Beautifier and Minimizer",
5
5
  "bin": {
6
6
  "x3d-tidy": "bin/x3d-tidy.js"
@@ -16,6 +16,7 @@
16
16
  },
17
17
  "keywords": [
18
18
  "X3D",
19
+ "converter",
19
20
  "minimizer",
20
21
  "beautifier",
21
22
  "tidy"
@@ -26,7 +27,7 @@
26
27
  "url": "https://github.com/create3000/x3d-tidy/issues"
27
28
  },
28
29
  "homepage": "https://github.com/create3000/x3d-tidy#readme",
29
- "devDependencies": {
30
+ "dependencies": {
30
31
  "electron": "^22.0.0",
31
32
  "x_ite": "^8.3.0",
32
33
  "yargs": "^17.6.2"