diff --git a/make-it/EmMakefile b/make-it/EmMakefile index 2c711959a..371a7e449 100644 --- a/make-it/EmMakefile +++ b/make-it/EmMakefile @@ -182,8 +182,7 @@ $(OBJS): @$(MKDIR) -p $(OBJS) $(PREJS) $(POSTJS): $(CORESOURCEDIR)/vireo.wrapper.js - npm run lint - node splitVireoWrapper.js $(CORESOURCEDIR)/vireo.wrapper.js $(PREJS) $(POSTJS) + npm run split-wrapper -- $(PREJS) $(POSTJS) vjs: $(DIST)/vireo.js $(DIST)/vireo.min.js diff --git a/package.json b/package.json index 7e8efff14..f62cdc243 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,8 @@ "lint-markdown-style": "markdownlint {./*.md,./docs/*.md}", "prehttpbin": "python -V && pip -V && virtualenv --version && tox --version", "httpbin": "tox", - "httpbin-start": "start cmd /c npm run httpbin" + "httpbin-start": "start cmd /c npm run httpbin", + "split-wrapper": "node make-it/splitVireoWrapper.js source/core/vireo.wrapper.js" }, "repository": { "type": "git",