Skip to content

Commit

Permalink
using dist instead of src, fixes typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
pstaender committed Apr 21, 2024
1 parent 2d8e090 commit f705456
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 350 deletions.
3 changes: 1 addition & 2 deletions .gitignore
@@ -1,3 +1,2 @@
.DS_Store
node_modules/*
*.map
/dist/
2 changes: 1 addition & 1 deletion bin/csv2md
@@ -1,2 +1,2 @@
#!/usr/bin/env node
require('../src/cli')
require('../dist/cli')
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -7,7 +7,7 @@
"csv2md": "bin/csv2md"
},
"scripts": {
"test": "npm run build; npx mocha test/**/test.ts",
"test": "npx mocha test/**/test.ts",
"build": "tsc --project tsconfig.json",
"watch": "tsc --project tsconfig.json -w"
},
Expand Down
134 changes: 0 additions & 134 deletions src/cli.js

This file was deleted.

207 changes: 0 additions & 207 deletions src/csv2md.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/csv2md.ts
@@ -1,4 +1,4 @@
import * as parseSync from 'csv-parse/lib/sync'
import parseSync from 'csv-parse/lib/sync'

export interface Options {
pretty?: boolean
Expand Down
6 changes: 2 additions & 4 deletions tsconfig.json
@@ -1,13 +1,11 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"strict": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"outDir": "dist",
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"skipLibCheck": true
},
"include": ["src/**/*"]
"include": ["src/*"]
}

0 comments on commit f705456

Please sign in to comment.