0.1.0 • Published 7 years ago

modpe-compiler v0.1.0

Weekly downloads
4
License
GPL-3.0
Repository
github
Last release
7 years ago

ModPE Compiler

Integrated Tool of Linter, Transpiler, and Minifier for ModPE Scripts

npm npm

ChangeLog

See CHANGELOG

Features

  • Javascript Linter by ESLint
  • ES2015 Transpiler for BlockLauncher by Babel
  • Minifier and obfuscator by UglifyJS

Installation

  • Install with npm:
npm install modpe-compiler --save
  • Clone the repo:
git clone https://github.com/Astro36/ModPECompiler.git

Usage

Example

Compile your script:

const ModPECompiler = require('modpe-compiler');
let compiler = new ModPECompiler('your_script.js');
compiler.run();
compiler.saveAsFile();

License

ModPECompiler
Copyright (C) 2017  Astro

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

ModPECompiler is licensed under the GPL 3.0.