0.3.3 • Published 26 days ago

tyranoscript-packager v0.3.3

Weekly downloads
3
License
MIT
Repository
github
Last release
26 days ago

tyranoscript-packager

Github Action npm version

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.

Currently only packaging for windows is possible. macOS packaging may eventually support it.

Please refer to the NW.js documentation 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
0.3.3

26 days ago

0.3.2

7 months ago

0.3.0

1 year ago

0.3.1

1 year ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

4 years ago

0.2.1

4 years ago

0.2.0-beta.1

4 years ago

0.1.6-beta.2

4 years ago

0.1.6-beta.3

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.6-beta.1

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago