Skip to content
/ tpr Public

Support tools that deal with Scala.js in the project of the npm.

Notifications You must be signed in to change notification settings

k-kinzal/tpr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tpr

Build Status Dependency Status devDependency Status

Support tools that deal with Scala.js in the project of the npm.

Get started

npm install --save-dev tpr
tpr src -o scalajs.js --fullOpt

CLI

$ tpr --version
0.0.0

$ tpr --help

  Usage: cli [options] <file ...>

  Options:

    -h, --help                        output usage information
    -V, --version                     output the version number
    -o, --output <directory>          Output file of linker (required)
    -jo, --jsoutput <file>            Concatenate all JavaScript libary dependencies to this file
    -f, --fastOpt                     Optimize code (this is the default)
    -n, --noOpt                       Don't optimize code
    -u, --fullOpt                     Fully optimize code (uses Google Closure Compiler)
    -p, --prettyPrint                 Pretty print full opted code (meaningful with -u)
    -s, --sourceMap                   Produce a source map for the produced code
    --compliantAsInstanceOfs          Use compliant asInstanceOfs
    -m, --outputMode <value>          Output mode (ECMAScript51Isolated, ECMAScript6, ECMAScript6StrongMode, ECMAScript51Global)
    -b, --bypassLinkingErrors         Only warn if there are linking errors
    -c, --checkIR                     Check IR before optimizing
    -r, --relativizeSourceMap <path>  Relativize source map with respect to given path (meaningful with -s)
    --noStdlib                        Don't automatcially include Scala.js standard library

License

MIT

Copyright

Copyright (c) 2015 k-kinzal

About

Support tools that deal with Scala.js in the project of the npm.

Resources

Stars

Watchers

Forks

Packages

No packages published