closure-tools

Google Closure Tools :: Python files on npm

4 个版本
安装
npm install closure-tools
yarn add closure-tools
pnpm add closure-tools
bun add closure-tools
README

Google Closure Tools

Google Closure Tools build python files on npm

Quick Start

Install...

npm istall superstartup-closure-compiler --save-deps
  • getPath( filename )

example:

var closureTools = require('closure-tools'),
    exec     = require('require('child_process').exec');

/* ... */

// prepare the closurebuilder command
var command = closureTools.getPath('build/closurebuilder.py') + ' ' + buildOptions;

// run the closureTools command
exec( command, cb );

The Closure bin Contents

This is the current breakout of the Google Closure's Tools folder, and in effect all the possible values the getPah() method will make sense:

build/closurebuilder.py
build/depstree_test.py
build/source_test.py
build/depstree.py
build/depswriter.py
build/source.py
build/treescan.py
build/jscompiler.py
calcdeps.py
scopify.py
版本列表
0.1.4 2013-11-05
0.1.3 2013-03-19
0.1.2 2013-03-19
0.1.1 2013-02-17