compile a node compatible version in dist/ and map package.json to dist/parser