Also removes the useless example.d.ts file from the distribution.
Updates the civet compiler to the greatest version that works
on this code.
Resolves#13.
Resolves#14.
Reviewed-on: #15
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
Construct a proper package.json in the dist file and copy
the README there for a reasonably complete shipped package.
Reviewed-on: #8
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
I failed to find a satisfactory way to compile and import moo.js with
fixed specifiers, so finally I just gave up and patched the distributed
moo code to be an es6 module. Very ugly but it works.
Resolves#1.
Reviewed-on: #2
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
Add the civet and typescript compilers, implement a build step,
provide examples of using from es6, script, and command line.
Of course, there is no actual behavior produced; convert always produces
'foo' at the moment.