Skip to content

Commit

Permalink
fix: typescript build
Browse files Browse the repository at this point in the history
  • Loading branch information
2fd committed Feb 28, 2021
1 parent a6917de commit 47a0b80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ config.gypi
CVS
npm-debug.log
src
tsconfig.jsons
tsconfig.json
.github
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { createInterface } from 'readline'
import yargs from 'yargs'
import $ from 'cherio'
import log from './log'
import pkg from '../package.json'

const pkg = require('../package.json')

let data = ""
const cli = yargs(process.argv.slice(2))
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./dist/", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"rootDir": "./src/", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
// "removeComments": true, /* Do not emit comments to output. */
Expand Down

0 comments on commit 47a0b80

Please sign in to comment.