Skip to content

Commit

Permalink
TypeScript fix by changing package.json; bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Temii committed Mar 3, 2021
1 parent dddefc4 commit dee8446
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "immudb-node",
"version": "1.0.10-rc.2",
"version": "1.0.10-rc.3",
"description": "Node ts client for immudb",
"directories": {
"src": "src",
"test": "tests"
},
"main": "src/client.ts",
"types": "types/index.d.ts",
"main": "dist/src/client.js",
"types": "dist/src/client.d.ts",
"scripts": {
"prepare": "npm run build",
"build": "tsc",
Expand Down
25 changes: 13 additions & 12 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{
"compilerOptions": {
"target": "ES2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
"strict": true, /* Enable all strict type-checking options. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"skipLibCheck": true, /* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"sourceMap": true,
"declaration": true,
"outDir": "dist",
// "allowJs": true,
"baseUrl": "src",
// "moduleResolution": "classic"
"target": "ES2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
"strict": true, /* Enable all strict type-checking options. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"skipLibCheck": true, /* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"sourceMap": true,
"declaration": true,
"outDir": "./dist",
"rootDir": "./src",
// "allowJs": true,
"baseUrl": "src",
// "moduleResolution": "classic"
},
"files": [
"./node_modules/@types/mocha/index.d.ts",
Expand Down

0 comments on commit dee8446

Please sign in to comment.