Skip to content

Commit b047606

Browse files
committed
fix package json and ts declaration output
1 parent 1b5c20c commit b047606

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "optimal-id",
33
"version": "1.0.0",
44
"description": "generates an optimized string based id value suitable for nosql database unique keys",
5-
"main": "dist/main.js",
5+
"main": "dist/index.js",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/RichardMarks/optimal-id.git"

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// "allowJs": true, /* Allow javascript files to be compiled. */
1111
// "checkJs": true, /* Report errors in .js files. */
1212
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
13-
// "declaration": true, /* Generates corresponding '.d.ts' file. */
13+
"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. */
1616
// "outFile": "./", /* Concatenate and emit output to single file. */

0 commit comments

Comments
 (0)