diff --git a/docs/dev-run b/docs/dev-run index 68c047112e..e34cfb48ee 100755 --- a/docs/dev-run +++ b/docs/dev-run @@ -1,4 +1,3 @@ -#!/usr/bin/env babel-node /* eslint no-process-exit: 0 */ import 'colors'; import portfinder from 'portfinder'; diff --git a/package.json b/package.json index 6e9621437f..91c0e227d2 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "test": "npm run lint && npm run build && karma start --single-run && _mocha --compilers js:babel-core/register test/server/*Spec.js", "lint": "eslint ./", "docs-build": "babel-node tools/build-cli.js --docs-only", - "docs": "docs/dev-run", + "docs": "babel-node docs/dev-run", "docs-prod": "npm run docs-build && NODE_ENV=production babel-node docs/server.js", "docs-prod-unoptimized": "npm run docs-build -- --dev && NODE_ENV=production babel-node docs/server.js" },