diff --git a/kdb-web/package.json b/kdb-web/package.json index 3e87f4ec43..c6c72b80e0 100644 --- a/kdb-web/package.json +++ b/kdb-web/package.json @@ -1,9 +1,9 @@ { "name": "kdb-web", - "version": "0.3.dev70", + "version": "0.3.0", "scripts": { "ng": "ng", - "update-version": "ts-node -O '{\"module\": \"commonjs\"}' update-version.ts", + "update-version": "ts-node-esm update-version.ts", "prestart": "npm run update-version", "start": "ng serve", "prebuild": "npm run update-version", @@ -48,7 +48,6 @@ "karma-coverage": "~2.2.0", "karma-jasmine": "~5.0.0", "karma-jasmine-html-reporter": "~1.7.0", - "ts-node": "~8.3.0", "typescript": "~4.7.2" } } \ No newline at end of file diff --git a/kdb-web/tsconfig.json b/kdb-web/tsconfig.json index ff06eae10c..e541544cbd 100644 --- a/kdb-web/tsconfig.json +++ b/kdb-web/tsconfig.json @@ -1,5 +1,10 @@ /* To learn more about this file see: https://angular.io/config/tsconfig. */ { + "ts-node": { + "compilerOptions": { + "module": "CommonJS" + } + }, "compileOnSave": false, "compilerOptions": { "baseUrl": "./",