41 Commits

Author SHA1 Message Date
Sebastian McKenzie
ab9cd4e630 add support for an optional runtime - closes #129 2014-11-09 12:02:06 +11:00
Sebastian McKenzie
5c6d57c51b add transformation and generation folders 2014-11-08 09:17:12 +11:00
Sebastian McKenzie
dd62244e10 use v8-argv to make sure node is ran with --harmony for 6to5-node 2014-11-07 12:28:17 +11:00
Sebastian McKenzie
2a0efceef5 change behaviour of tests and browser testing/build 2014-11-04 08:03:52 +11:00
Sebastian McKenzie
f3d371869d Merge branch 'master' into code-generator
Conflicts:
	lib/6to5/register.js
2014-11-03 12:22:07 +11:00
Sebastian McKenzie
89ecd46b77 move _moduleFormatter transformer before useStrict transformer and remove duplicate use strict removing - fixes #114 2014-11-03 12:20:47 +11:00
Sebastian McKenzie
ec3a3cbbc9 more descriptive test helper method names 2014-10-31 11:38:18 +11:00
Sebastian McKenzie
1a3d306949 Merge branch 'master' into code-generator
Conflicts:
	package.json
2014-10-30 13:29:05 +11:00
Sebastian McKenzie
e5ae2f8eaf fix linting errors 2014-10-30 13:26:13 +11:00
Sebastian McKenzie
45cb755845 better eval contexts in bin/6to5-node 2014-10-30 13:09:37 +11:00
Sebastian McKenzie
e141a8b875 run 6to5-node repl in a context 2014-10-30 12:15:37 +11:00
Sebastian McKenzie
163c68dd6a fix lint errors 2014-10-29 20:57:43 +11:00
Brian Donovan
32b5edb711 Remove unused requires. 2014-10-27 20:28:31 -07:00
Sebastian McKenzie
a1adca6b65 add support for custom module formatters - #82 2014-10-19 12:11:12 +11:00
Sebastian McKenzie
2be2e4e1ae simplify bin/6to5 util methods and fix double compilation bug with eval in 6to5-node 2014-10-18 15:46:15 +11:00
Sebastian McKenzie
45c8c29cdf add --ignore and --extensions flag to 6to5-node to compliment require hook options 2014-10-16 10:02:16 +11:00
Sebastian McKenzie
4017a02756 add transformers to bin/6to5 help output, add descriptions tn whitelist and blacklist arguments 2014-10-15 11:45:28 +11:00
Sebastian McKenzie
cd006814f2 revamp bin/6to5 - file watching, nicer code - closes #65 2014-10-14 19:22:48 +11:00
Sebastian McKenzie
9b6d36bb91 fix missing util.formatJSON call 2014-10-13 04:49:38 +11:00
Sebastian McKenzie
184e82f718 add jshint and change root file from node.js to index.js 2014-10-13 03:28:36 +11:00
Sebastian McKenzie
04f2f96672 better --filename bin/6to5 description 2014-10-12 00:23:25 +11:00
Sebastian McKenzie
df8d8d6ebc add full bin test suite 2014-10-11 22:31:18 +11:00
Sebastian McKenzie
c4a6626cc2 join sourcemaps on multiple files for bin/6to5 2014-10-11 22:00:54 +11:00
Sebastian McKenzie
eee7beb6b3 v1.7.13 2014-10-11 16:51:16 +11:00
Sebastian McKenzie
603ae290cd check for absolute path before joining cwd in 6to5-node - fixes #43 2014-10-11 09:30:58 +11:00
Sebastian McKenzie
a3706f769a better eval for 6to5-node 2014-10-10 23:09:55 +11:00
Sebastian McKenzie
0d87858e91 add support for stdin to 6to5 bin 2014-10-10 23:09:42 +11:00
Sebastian McKenzie
88b5cb5ef9 fix util require path 2014-10-10 17:13:33 +11:00
Sebastian McKenzie
98ab869af8 switch from escodegen to recast which is slower but far superior 2014-10-10 00:47:39 +11:00
Sebastian McKenzie
cb9cece2f8 add browser testing #17 2014-10-09 16:21:34 +11:00
Sebastian McKenzie
b06cd42a0b change --source-map-type [type] flag to --source-maps-inline and rename comment sourcemap type to inline 2014-10-08 23:59:38 +11:00
Sebastian McKenzie
4cb7b786dd always return { map, code } object on transform, update apis, change sourceMap comment adding, closes #6, #7 and #8 2014-10-08 23:49:19 +11:00
Sebastian McKenzie
f77e7d71d2 fix incorrect commander.out reference - closes #5 2014-10-08 23:13:03 +11:00
Sebastian McKenzie
04d5875771 fix sourcemap flag reference 2014-10-08 18:09:02 +11:00
Sebastian McKenzie
6f487a8899 change 6to5 source-map flag operation 2014-10-08 18:07:21 +11:00
Sebastian McKenzie
b194461ba3 improve 6to5-node and fix register hook 2014-10-08 10:17:50 +11:00
Sebastian McKenzie
de07722562 make 6to5-node eval use modules instead of eval 2014-10-07 20:24:30 +11:00
Sebastian McKenzie
56fb41a616 add 6to5-node bin 2014-10-02 09:55:08 +10:00
Sebastian McKenzie
6d74efa452 remove chokidar 2014-10-01 11:06:40 +10:00
Sebastian McKenzie
66e06b5e13 fix invalid variable declaration name 2014-09-29 00:25:16 +10:00
Sebastian McKenzie
c97696c224 first commit 2014-09-28 23:39:22 +10:00