[Pkg-javascript-commits] [node-estree-walker] 08/09: Use babel to compile the package
Julien Puydt
julien.puydt at laposte.net
Thu Nov 23 06:48:47 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-estree-walker.
commit 3301b6c8cf389121d89f63114d49501de9a476c5
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Thu Nov 23 07:34:19 2017 +0100
Use babel to compile the package
---
debian/control | 2 +-
debian/rules | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 6a9f3ea..251dbf6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
Uploaders: Julien Puydt <julien.puydt at laposte.net>
-Build-Depends: debhelper (>= 10), node-es6-module-transpiler
+Build-Depends: debhelper (>= 10), node-babel-cli, node-babel-preset-es2015
Standards-Version: 4.1.1
Homepage: https://github.com/Rich-Harris/estree-walker
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-estree-walker.git
diff --git a/debian/rules b/debian/rules
index 7b76f3d..8c886de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,4 @@
dh $@
override_dh_auto_build:
- compile-modules convert -f commonjs src/estree-walker.js > index.js
+ babeljs --presets=es2015 src/estree-walker.js > index.js
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-estree-walker.git
More information about the Pkg-javascript-commits
mailing list