From 3b8a561efe6ea41d99fa08471795ddbd9f083d6d Mon Sep 17 00:00:00 2001 From: jquense Date: Sat, 13 Jun 2015 17:10:05 -0400 Subject: [PATCH] Fix docs command for windows users Windows doesn't do shebangs, so it has no idea how to run that without the command --- docs/dev-run | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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" },