@spritecrate/cli 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.
- package/LICENSE +1 -1
- package/README.md +5 -5
- package/package.json +14 -9
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -4,13 +4,13 @@ Pack PNG sprites into texture atlases and JSON metadata from the command line.
|
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npm install --save-dev @spritecrate/cli
|
|
7
|
-
npx spritecrate pack "assets/**/*.png" --out-dir dist/atlas --format phaser4
|
|
7
|
+
npx @spritecrate/cli pack "assets/**/*.png" --out-dir dist/atlas --format phaser4
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
npx spritecrate pack --config spritecrate.config.json
|
|
12
|
-
npx spritecrate pack --config spritecrate.config.json --dry-run --json
|
|
13
|
-
npx spritecrate --help
|
|
11
|
+
npx @spritecrate/cli pack --config spritecrate.config.json
|
|
12
|
+
npx @spritecrate/cli pack --config spritecrate.config.json --dry-run --json
|
|
13
|
+
npx @spritecrate/cli --help
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
JSON configuration supports Schema completion. See the configuration reference for paths and export formats.
|
|
@@ -25,7 +25,7 @@ Based in part on [odrick/free-tex-packer-core](https://github.com/odrick/free-te
|
|
|
25
25
|
|
|
26
26
|
## License
|
|
27
27
|
|
|
28
|
-
MIT ©
|
|
28
|
+
MIT © 2026 [iulo](https://github.com/iulo).
|
|
29
29
|
|
|
30
30
|
## Export targets
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spritecrate/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "SpriteCrate cli: deterministic texture atlas tooling",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cocos-creator",
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
"url": "https://github.com/iulo/spritecrate/issues"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
|
+
"author": {
|
|
22
|
+
"name": "iulo",
|
|
23
|
+
"url": "https://github.com/iulo"
|
|
24
|
+
},
|
|
21
25
|
"repository": {
|
|
22
26
|
"type": "git",
|
|
23
27
|
"url": "git+https://github.com/iulo/spritecrate.git",
|
|
@@ -45,16 +49,17 @@
|
|
|
45
49
|
"publishConfig": {
|
|
46
50
|
"access": "public"
|
|
47
51
|
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "tsdown",
|
|
54
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
55
|
+
"check:package": "node ../../scripts/check-package.mjs"
|
|
56
|
+
},
|
|
48
57
|
"dependencies": {
|
|
49
|
-
"
|
|
50
|
-
"
|
|
58
|
+
"@spritecrate/node": "^0.1.4",
|
|
59
|
+
"ajv": "8.20.0"
|
|
51
60
|
},
|
|
52
61
|
"engines": {
|
|
53
62
|
"node": ">=22.18.0"
|
|
54
63
|
},
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
"typecheck": "tsc -p tsconfig.json",
|
|
58
|
-
"check:package": "node ../../scripts/check-package.mjs"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
64
|
+
"gitHead": "5ad63d36cc0a4fb81c0c2a8262439509e186b910"
|
|
65
|
+
}
|