diff --git a/package.json b/package.json index 692929b2..bd1d959a 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "build": "npm run compile", "clean": "rimraf ./build/", "codecov": "c8 report --reporter=json && codecov -f coverage/*.json", - "compile": "tsc -p .", + "compile": "tsc", "postcompile": "ncp template build/template", "lint": "eslint '**/*.ts'", "prepare": "npm run compile", diff --git a/src/init.ts b/src/init.ts index a0bdc7aa..2ca77e73 100644 --- a/src/init.ts +++ b/src/init.ts @@ -84,7 +84,7 @@ export async function addScripts( const scripts: Bag = { check: `gts check`, clean: 'gts clean', - compile: `tsc -p .`, + compile: `tsc`, fix: `gts fix`, prepare: `${pkgManager} run compile`, pretest: `${pkgManager} run compile`, diff --git a/test/test-init.ts b/test/test-init.ts index b3b03a43..c3e26bab 100644 --- a/test/test-init.ts +++ b/test/test-init.ts @@ -86,7 +86,7 @@ describe('init', () => { const SCRIPTS = { check: `fake check`, clean: 'fake clean', - compile: `fake tsc -p .`, + compile: `fake tsc`, fix: `fake fix`, prepare: `fake run compile`, pretest: `fake run compile`, @@ -105,7 +105,7 @@ describe('init', () => { const SCRIPTS = { check: `fake check`, clean: 'fake clean', - compile: `fake tsc -p .`, + compile: `fake tsc`, fix: `fake fix`, prepare: `fake run compile`, pretest: `fake run compile`,