[Pkg-javascript-devel] Bug#933194: Automate build commands from package.json gradually, one build tool at a time

Pirate Praveen praveen at onenetbeyond.org
Sat Jul 27 14:18:40 BST 2019


Package: pkg-js-tools
Version: 0.8.2-1
Severity: wishlist

I think we should parse package.json#scripts#build automatically and run build commands that we understand. Start with babel,

In node-uglifyjs-webpack-plugin has,

 babel src -d dist --ignore 'src/**/*.test.js' --copy-files

We can skip 
cross-env NODE_ENV=production and convert babel to babeljs to run

babeljs src -d dist --ignore 'src/**/*.test.js' --copy-files
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190727/82662ffa/attachment.html>


More information about the Pkg-javascript-devel mailing list