diff --git a/template-ts-integrated/package.json b/template-ts-integrated/package.json index 1f8459c..86daeb8 100644 --- a/template-ts-integrated/package.json +++ b/template-ts-integrated/package.json @@ -7,6 +7,7 @@ "scripts": { "build": "sern build", "start": "node .", + "install": "sern build", "commands:publish": "sern commands publish" }, "keywords": [ diff --git a/tsconfig.json b/tsconfig.json index 804208c..298e599 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ /* Language and Environment */ "target": "ES2020", "moduleResolution": "nodenext", - "module": "es2020", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "module": "nodenext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */