Skip to content

Commit

Permalink
Prepares TS compiler to publish package
Browse files Browse the repository at this point in the history
  • Loading branch information
jvcalderon committed Oct 12, 2019
1 parent 8ec6605 commit 18827b1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"version": "1.0.0",
"description": "Provides an easy way to implement login system based on LDAP and JWT",
"author": "José Vte. Calderón",
"main": "src/index.js",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"test": "jest --forceExit",
"build": "tsc",
"coverall": "node node_modules/.bin/jest --forceExit --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"dependencies": {
Expand Down
10 changes: 8 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@
"include": [
"src/*.ts",
"src/*.spec.ts"
]
}
],
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"declaration": true,
"outDir": "./dist"
}
}

0 comments on commit 18827b1

Please sign in to comment.