Skip to content

Commit

Permalink
configure setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mosheduminer committed Jul 9, 2020
1 parent e37fe77 commit 44216a3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 30 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ typings/
.vscode
.idea

src/*.js
src/*.d.ts
dist
12 changes: 0 additions & 12 deletions index.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions index.js

This file was deleted.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
"name": "sirix",
"version": "1.0.0",
"description": "A typescript client library for interacting with SirixDB",
"main": "./index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "commonjs",
"scripts": {
"build": "tsc",
"test": "jest --runInBand"
},
"prepublish": "tsc",
"author": "Moshe Uminer",
"license": "ISC",
"dependencies": {
Expand Down
15 changes: 5 additions & 10 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,11 @@
"removeComments": true,
"preserveConstEnums": true,
"target": "es5",
"esModuleInterop": true
"esModuleInterop": true,
"outDir": "./dist"
},
"files": [
"./src/auth.ts",
"./src/client.ts",
"./src/constants.ts",
"./src/database.ts",
"./src/info.ts",
"./src/resource.ts",
"./src/sirix.ts",
"./index.ts"
"exclude": [
"__tests__",
"resources"
]
}

0 comments on commit 44216a3

Please sign in to comment.