Skip to content

Commit

Permalink
Fix docs command for windows users
Browse files Browse the repository at this point in the history
Windows doesn't do shebangs, so it has no idea how to run that without
the command
  • Loading branch information
jquense committed Jun 13, 2015
1 parent fd31cbc commit 3b8a561
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/dev-run
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env babel-node
/* eslint no-process-exit: 0 */
import 'colors';
import portfinder from 'portfinder';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 3b8a561

Please sign in to comment.