Skip to content

Commit 0aa1bd2

Browse files
authored
Merge pull request #7 from CodeForBaltimore/revjtanton/issue-6
Adding strongly-typed package
2 parents 888eb1c + 902cf03 commit 0aa1bd2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
22
"name": "lambda-restful-util",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A lightweight utility for Lambda API development",
55
"repository": "[email protected]:CodeForBaltimore/lambda-restful-util.git",
66
"author": "Jason Anton <[email protected]>",
77
"license": "MIT",
88
"private": false,
99
"main": "dist/index.js",
10+
"typings": "dist/index",
11+
"files": [
12+
"dist/"
13+
],
1014
"source": "src/index.ts",
1115
"scripts": {
1216
"build": "tsc -p .",

tsconfig.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
// "declaration": true, /* Generates corresponding '.d.ts' file. */
1414
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
1515
// "sourceMap": true, /* Generates corresponding '.map' file. */
16-
// "outFile": "./", /* Concatenate and emit output to single file. */
16+
// "outFile": "./",
17+
"declaration": true, /* Concatenate and emit output to single file. */
1718
"outDir": "dist", /* Redirect output structure to the directory. */
1819
"rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
1920
// "composite": true, /* Enable project compilation */
@@ -67,6 +68,9 @@
6768
"skipLibCheck": true, /* Skip type checking of declaration files. */
6869
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
6970
},
71+
"files": [
72+
"./src/index.ts"
73+
],
7074
"include": [
7175
"src/**/*"
7276
],

0 commit comments

Comments
 (0)