@sebastianwessel/isostate-cli 0.1.0 → 0.1.2
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 +36 -0
- package/package.json +13 -2
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @sebastianwessel/isostate-cli
|
|
2
|
+
|
|
3
|
+
Command line tools for validating, compiling, inspecting, and bundling
|
|
4
|
+
Isostate `.isostate.yaml` scene files.
|
|
5
|
+
|
|
6
|
+
## Links
|
|
7
|
+
|
|
8
|
+
- Website: https://sebastianwessel.github.io/isostate
|
|
9
|
+
- Repository: https://github.com/sebastianwessel/isostate
|
|
10
|
+
- Issues: https://github.com/sebastianwessel/isostate/issues
|
|
11
|
+
- Documentation: https://sebastianwessel.github.io/isostate/docs/getting-started.md/
|
|
12
|
+
|
|
13
|
+
## Use With npx
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx --package @sebastianwessel/isostate-cli isostate validate scene.isostate.yaml
|
|
17
|
+
npx --package @sebastianwessel/isostate-cli isostate compile scene.isostate.yaml --output scene.isostate.js
|
|
18
|
+
npx --package @sebastianwessel/isostate-cli isostate bundle scene.isostate.yaml --out public/isostate/scene
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Install
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install --save-dev @sebastianwessel/isostate-cli
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Then run:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
isostate validate scene.isostate.yaml
|
|
31
|
+
isostate compile scene.isostate.yaml --output scene.isostate.js
|
|
32
|
+
isostate bundle scene.isostate.yaml --out public/isostate/scene
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The bundle command writes a browser-ready runtime, compiled scene module,
|
|
36
|
+
referenced assets, and a manifest for static hosting.
|
package/package.json
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebastianwessel/isostate-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Command line tools for validating and compiling Isostate scene DSL files.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"isostate",
|
|
7
|
+
"isometric",
|
|
8
|
+
"svg",
|
|
9
|
+
"yaml",
|
|
10
|
+
"cli"
|
|
11
|
+
],
|
|
5
12
|
"type": "module",
|
|
6
13
|
"bin": {
|
|
7
14
|
"isostate": "./dist/bin.js"
|
|
@@ -26,7 +33,7 @@
|
|
|
26
33
|
"prepublishOnly": "cd ../.. && bun run build && bun run lint"
|
|
27
34
|
},
|
|
28
35
|
"dependencies": {
|
|
29
|
-
"@sebastianwessel/isostate": "0.1.
|
|
36
|
+
"@sebastianwessel/isostate": "0.1.2"
|
|
30
37
|
},
|
|
31
38
|
"peerDependencies": {
|
|
32
39
|
"yaml": "^2.9.0"
|
|
@@ -36,6 +43,10 @@
|
|
|
36
43
|
},
|
|
37
44
|
"author": "Sebastian Wessel",
|
|
38
45
|
"license": "MIT",
|
|
46
|
+
"homepage": "https://sebastianwessel.github.io/isostate",
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/sebastianwessel/isostate/issues"
|
|
49
|
+
},
|
|
39
50
|
"repository": {
|
|
40
51
|
"type": "git",
|
|
41
52
|
"url": "git+ssh://git@github.com/sebastianwessel/isostate.git",
|