Skip to content

Commit

Permalink
fix(build): Fixed build type declarations standalones
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 committed Aug 5, 2022
1 parent fd56d55 commit ffadfe5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "A TypeScript SDK built with CosmJS to interact with cheqd network ledger",
"licence": "Apache-2.0",
"author": "Cheqd Foundation Limited (https://github.com/cheqd)",
"main": "src/index.ts",
"source": "src/index.ts",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"test": "jest --passWithNoTests",
"test:watch": "jest --passWithNoTests --watch",
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "build", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
Expand Down

0 comments on commit ffadfe5

Please sign in to comment.