Merge pull request #1636 from hooloovooo/fix-techdocs-cli-npm-package

More issues in techdocs-cli
This commit is contained in:
Sebastian Qvarfordt
2020-07-15 11:23:55 +02:00
committed by GitHub
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const path = require('path');
const isLocal = require('fs').existsSync(path.resolve(__dirname, '../src'));
if (!isLocal) {
require('..');
require('../dist');
} else {
require('ts-node').register({
transpileOnly: true,
+1 -2
View File
@@ -36,7 +36,7 @@
},
"files": [
"bin",
"dist/**/*.js"
"dist"
],
"nodemonConfig": {
"watch": "./src",
@@ -45,7 +45,6 @@
},
"dependencies": {
"@backstage/cli": "^0.1.1-alpha.13",
"chalk": "^4.1.0",
"commander": "^5.1.0",
"fs-extra": "^9.0.1",
"http-proxy": "^1.18.1",
-1
View File
@@ -16,7 +16,6 @@
import { spawn, ChildProcess } from 'child_process';
import program from 'commander';
import { version } from './lib/version';
// import chalk from 'chalk';
import path from 'path';
import HTTPServer from './lib/httpServer';
import openBrowser from 'react-dev-utils/openBrowser';