diff --git a/package.json b/package.json index 4fb3e69..3821f5d 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "clean": "rimraf coverage dist docs", "commit": "npm run fix && git commit -am \"chore: Generated release files\"", "deploy": "exit 0", - "dev": "tsc --noEmit && node --no-warnings=ExperimentalWarning --loader ts-node/esm ./src/start.ts", + "dev": "tsc --noEmit && node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only ./src/start.ts", "dist": "npm run clean && npm run build && attw --pack . --ignore-rules cjs-resolves-to-esm", "docs": "npm run docs:build", "docs:build": "typedoc src/index.ts", @@ -58,7 +58,7 @@ "release:minor": "generate-changelog -m -x \"chore,test\" && npm run docs && npm run commit && npm version minor", "release:patch": "generate-changelog -p -x \"chore,test\" && npm run docs && npm run commit && npm version patch", "release:revert": "npm unpublish ts-node-starter", - "start": "tsc --noEmit && node --no-warnings=ExperimentalWarning --loader ts-node/esm ./src/start.ts", + "start": "tsc --noEmit && node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only ./src/start.ts", "test": "npm run test:types && npm run test:unit:coverage", "test:types": "tsc --project tsconfig.check.json", "test:unit": "vitest run --passWithNoTests", diff --git a/tsconfig.json b/tsconfig.json index 5062ea3..49d5bf7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,17 @@ { "$schema": "https://json.schemastore.org/tsconfig", - "ts-node": { - "transpileOnly": true - }, "compilerOptions": { "rootDir": "src", "outDir": "dist", - "types": ["vitest/globals"] + "types": [ + "vitest/globals" + ] }, - "exclude": ["coverage", "dist", "docs", "vitest.config.ts"], + "exclude": [ + "coverage", + "dist", + "docs", + "vitest.config.ts" + ], "extends": "@tstv/tsconfig-common/tsconfig.json" }