Twine

WebJar for Twine

License

License

Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-klembot-twinejs
Last Version

Last Version

2.3.7
Release Date

Release Date

Type

Type

jar
Description

Description

Twine
WebJar for Twine
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/klembot/twinejs

Download github-com-klembot-twinejs

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-klembot-twinejs/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-klembot-twinejs</artifactId>
    <version>2.3.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-klembot-twinejs/
implementation 'org.webjars.npm:github-com-klembot-twinejs:2.3.7'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-klembot-twinejs/
implementation ("org.webjars.npm:github-com-klembot-twinejs:2.3.7")
'org.webjars.npm:github-com-klembot-twinejs:jar:2.3.7'
<dependency org="org.webjars.npm" name="github-com-klembot-twinejs" rev="2.3.7">
  <artifact name="github-com-klembot-twinejs" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-klembot-twinejs', version='2.3.7')
)
libraryDependencies += "org.webjars.npm" % "github-com-klembot-twinejs" % "2.3.7"
[org.webjars.npm/github-com-klembot-twinejs "2.3.7"]

Dependencies

compile (28)

Group / Artifact Type Version
org.webjars.npm : scroll jar [2.0.0,3)
org.webjars.npm : osenv jar [0.1.3,0.2)
org.webjars.npm : codemirror jar [5.5.0,6)
org.webjars.npm : mkdirp-promise jar [5.0.1,6)
org.webjars.npm : fastclick jar [1.0.6,2)
org.webjars.npm : fs-extra jar [7.0.1,8)
org.webjars.npm : jszip jar [2.5.0,3)
org.webjars.npm » semver-utils jar [1.1.1,2)
org.webjars.npm : vue jar [1.0.18,2)
org.webjars.npm : lodash.uniq jar [4.5.0,5)
org.webjars.npm : jed jar [1.1.0,2)
org.webjars.npm : segseg jar [0.2.2,0.3)
org.webjars.npm : vuex jar [1.0.0,2)
org.webjars.npm : vue-router jar [0.7.13,0.8)
org.webjars.npm : lodash.without jar [4.4.0,5)
org.webjars.npm : browser-saveas jar [1.0.0,2)
org.webjars.npm : lodash.escaperegexp jar [4.1.2,5)
org.webjars.npm : lodash.escape jar [4.0.1,5)
org.webjars.npm : font-awesome jar [4.3.0,5)
org.webjars.npm : lodash.values jar [4.3.0,5)
org.webjars.npm : unfetch jar [3.0.0,4)
org.webjars.npm » tiny-uuid jar [1.0.0,2)
org.webjars.npm : klaw-sync jar [6.0.0,7)
org.webjars.npm : tether-drop jar [1.4.2,2)
org.webjars.npm : core-js jar [2.4.0,3)
org.webjars.npm » jsonp jar [0.2.1,0.3)
org.webjars.npm : moment jar [2.10.3,3)
org.webjars.npm : blob-polyfill jar [1.0.20150320,2)

Project Modules

There are no modules declared in this project.

twinejs

by Chris Klimas, Andrew Plotkin, Leon Arnott, Daithi O Crualaoich, Ingrid Cheung, Thomas Michael Edwards, Micah Fitch, HiEv, Juhana Leinonen, Michael Savich, and Ross Smith

SYNOPSIS

This is a port of Twine to a browser and Electron app. See twinery.org for more info.

The story formats in minified format under story-formats/ exist in separate repositories:

INSTALL

Run npm install at the top level of the directory to install all goodies.

BUILDING

Run npm start to begin serving a development version of Twine to http://localhost:8080. This server will automatically update with changes you make.

To create a release, run npm run build. Finished files will be found under dist/. In order to build Windows apps on OS X or Linux, you will need to have Wine and makensis installed. A file named 2.json is created under dist/ which contains information relevant to the autoupdater process, and is currently posted to https://twinery.org/latestversion/2.json.

To run the app in an Electron context, run npm run electron. npm run electron-dev is a bit faster as it skips minification.

npm run lint and npm test will lint and test the source code respectively.

npm run pot will create a POT template file for localization at src/locale/po/template.pot. See Localization below for more information.

npm run clean will delete existing files in build/ and dist/.

LOCALIZATION

Would you like to help localize Twine for another language? Awesome! You don't need to know JavaScript to do so. Here's how it works:

  1. Download template.pot from the repository.

  2. Use a translation application like Poedit to create a .po file with the source text translated. If you are using Poedit, get started by choosing New from POT/PO File from the File menu. Make sure to name your po file according to the IETF locale naming convention -- Poedit can help suggest that as well. For example, a generic French translation should be named fr.po, while an Australian English one would be named en-au.po.

  3. Finally, two other things are needed: an SVG-formatted image of the flag that should be associated with your language, and what native speakers call the language you are localizing to (e.g. Français for French speakers). Wikimedia Commons is your best bet for nice-looking SVG flags. Obviously, whatever image you provide must either be in the public domain or otherwise OK to use in Twine without any compensation.

  4. If you're comfortable using Git, then you can open a pull request to have your localization added. Please place it in the src/locale/po directory. If you aren't, you can instead open a bug tracker issue and attach your PO file, flag image, and language name and we'll take it from there.

Versions

Version
2.3.7