https://github.com/fuji44/tyranoscript-packager
This is a CLI tool for packaging Tyranoscript apps.
https://github.com/fuji44/tyranoscript-packager
cli npm-package tyranoscript
Last synced: 3 months ago
JSON representation
This is a CLI tool for packaging Tyranoscript apps.
- Host: GitHub
- URL: https://github.com/fuji44/tyranoscript-packager
- Owner: fuji44
- License: mit
- Created: 2019-12-03T05:26:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2026-02-27T14:00:52.000Z (4 months ago)
- Last Synced: 2026-02-27T18:51:34.921Z (3 months ago)
- Topics: cli, npm-package, tyranoscript
- Language: HTML
- Homepage:
- Size: 34.5 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tyranoscript-packager
[](https://github.com/fuji44/tyranoscript-packager)
[](https://badge.fury.io/js/tyranoscript-packager)
This is a CLI tool for packaging Tyranoscript apps.
The official tool “Tyranno Rider” is difficult to link with external tools. Since this tool is a simple CLI tool, it can be easily integrated with CI / CD tools.
- Tyranoscript official web site: https://tyrano.jp/
- GitHub: https://github.com/ShikemokuMK/tyranoscript
*Currently only packaging for windows is possible. macOS packaging may eventually support it.*
Please refer to the [NW.js documentation](http://docs.nwjs.io/en/latest/For%20Users/Package%20and%20Distribute/) for information on packaging desktop apps.
I think that more advanced packaging can be done by using `nwjs-builder-phoenix`.
## Installation
If you are unfamiliar with npm, do the following.
```
npm install -g tyranoscript-packager
```
If you understand npm well and manage the tyrano app with npm, it is better to install it locally.
```
npm install --save-dev tyranoscript-packager
```
**Caution!** : Note that the windows and macos packages distributed on the official site contain `node_modules/` and `package.json`, so they are overwritten by local installation.
### Use without installation
If you don't want to install it, you can use `npm link`. You may need to specify `sudo`.
```
git clone git@github.com:fuji44/tyranoscript-packager.git
cd tyranoscript-packager
npm install
npm link
```
## Usage
Just run the `tyrano` command at the root of the application.
If successful, a file packaged in `./dest/` is created.
The application root directory should have `index.html`, `data/`, and `tyrano/`.
See the command help (`-h`) for details.
```
cd $tyrano_app_root_dir
tyrano
```
### Examples
This is an example of using via npm script.
Describe the command in `package.json` ...
```
"scripts": {
"package": "tyrano -d ./export -w 960 -H 640 -r"
}
```
It can be used simply by executing it with the `npm run` command.
```
npm run package
```