diff --git a/.babelrc b/.babelrc index 1142f253..17d01063 100644 --- a/.babelrc +++ b/.babelrc @@ -1,7 +1,7 @@ { "presets": ["es2015"], "plugins": [ - "transform-async-to-generator", + ["transform-async-to-generator"], ["transform-runtime", { "polyfill": true, "regenerator": true diff --git a/Makefile b/Makefile index 6327dd04..71225bcf 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ all: - @npm run browserify - @npm run uglify + @npm run webpack @cp -f lib/workers/worker-browser.js browser/bcoin-worker.js clean: @@ -9,7 +8,10 @@ clean: docs: @npm run docs +lint: + @npm run lint + test: @npm test -.PHONY: all clean docs test +.PHONY: all clean docs lint test diff --git a/browser/index.html b/browser/index.html index b3d72ef5..3e147a00 100644 --- a/browser/index.html +++ b/browser/index.html @@ -3,12 +3,12 @@ bcoin